[LeetCode] Peeking Iterator 顶端迭代器

Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operation -- it e
posted @ 2015-09-21 01:52  Grandyang  阅读(11058)  评论(3)    收藏  举报
Fork me on GitHub