摘要: 题目: Given two binary strings, return their sum (also a binary string). 给定两个二进制字符串,返回它们的总和(也是二进制字符串)。 The input strings are both non-empty and contains 阅读全文
posted @ 2018-09-07 20:46 chan_ai_chao 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 题目: Implement the following operations of a stack using queues. 使用队列实现堆栈的以下操作。 push(x) -- Push element x onto stack. push(x) - 将元素x推入堆栈。 pop() -- Remo 阅读全文
posted @ 2018-09-07 20:25 chan_ai_chao 阅读(80) 评论(0) 推荐(0) 编辑