摘要: Given an Iterator class interface with methods:next()andhasNext(), design and implement a PeekingIterator that support thepeek()operation -- it essent... 阅读全文
posted @ 2016-01-07 22:14 eversliver 阅读(265) 评论(0) 推荐(0)
摘要: Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two... 阅读全文
posted @ 2016-01-07 17:54 eversliver 阅读(286) 评论(0) 推荐(0)