摘要:
题目Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operat...
阅读全文
posted @ 2015-11-26 14:02
Coding菌
阅读(144)
推荐(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 ex...
阅读全文
posted @ 2015-11-26 13:50
Coding菌
阅读(101)
推荐(0)