摘要:
Implement the following operations of a stack using queues. push(x) -- Push element x onto stack. pop() -- Removes the element on top of the stack. to 阅读全文
posted @ 2019-01-04 17:28
fatttcat
阅读(117)
评论(0)
推荐(0)
摘要:
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 @ 2019-01-04 13:29
fatttcat
阅读(125)
评论(0)
推荐(0)
摘要:
Given an array that is initially stored in one stack, sort it with one additional stacks (total 2 stacks). After sorting the original stack should con 阅读全文
posted @ 2019-01-04 13:07
fatttcat
阅读(365)
评论(0)
推荐(0)
浙公网安备 33010602011771号