摘要:
Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue. pop() -- Removes the element from in front 阅读全文
posted @ 2017-02-18 17:25
糯米米一粒
阅读(186)
评论(0)
推荐(0)
摘要:
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] 阅读全文
posted @ 2017-02-18 16:51
糯米米一粒
阅读(120)
评论(0)
推荐(0)

浙公网安备 33010602011771号