摘要: QuestionGiven two 1d vectors, implement an iterator to return their elements alternately.For example, given two 1d vectors:v1 = [1, 2]v2 = [3, 4, 5, 6... 阅读全文
posted @ 2015-10-22 08:26 树獭君 阅读(155) 评论(0) 推荐(0) 编辑
摘要: (Referrence: TutorialsPoint)Each of the collection classes provides an iterator( ) method that returns an iterator to the start of the collection. By ... 阅读全文
posted @ 2015-10-22 08:13 树獭君 阅读(119) 评论(0) 推荐(0) 编辑