档案日期2015的38

2015年9月21日 - 2015年9月27日

[LeetCode]Peeking Iterator

题目描述:

Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operation -- it essentially peek() at the element that will be returned by the next call to next().

Here is an ...

继续阅读

每日归档

上周

下周

归档