摘要: 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.top()... 阅读全文
posted @ 2016-01-15 22:23 sdlwlxf 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Subscribeto see which companies asked... 阅读全文
posted @ 2016-01-15 21:47 sdlwlxf 阅读(143) 评论(0) 推荐(0) 编辑
摘要: A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ... 阅读全文
posted @ 2016-01-15 20:51 sdlwlxf 阅读(185) 评论(0) 推荐(0) 编辑