2017年8月27日
摘要: 1 Min Stack public class MinStack { private Stack<Integer> stack = new Stack(); private Stack<Integer> min = new Stack(); public MinStack() { // do in 阅读全文
posted @ 2017-08-27 23:33 wheleetcode 阅读(130) 评论(0) 推荐(0)
摘要: 1 Clone Graph 1 copy ervery nodes by bfs 2 add neighbors public UndirectedGraphNode cloneGraph(UndirectedGraphNode node) { if (node == null) { return 阅读全文
posted @ 2017-08-27 15:24 wheleetcode 阅读(182) 评论(0) 推荐(0)