06 2015 档案
摘要:Given an unsorted array of n integers which can contain integers from 1 to n. Some elements can be repeated multiple times and some other elements can...
阅读全文
摘要:这是一道Google电面题:实现一个InterleavingIterator的class,其输入是Iterator>,包含hasNext()和Next()两个方法,要求是调用next()时能够交替输出输入的数据,比如:假设输入是:a1, a2, a3, a4, ..., an;b1, b2, b3,...
阅读全文