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