摘要: 题目:Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results.Note: The input string may co... 阅读全文
posted @ 2015-11-05 22:03 lasclocker 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 题目:Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operation -- i... 阅读全文
posted @ 2015-11-05 10:01 lasclocker 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 题目:Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.For example, g... 阅读全文
posted @ 2015-11-05 08:38 lasclocker 阅读(120) 评论(0) 推荐(0) 编辑