随笔分类 - 设计(Design)
摘要:题目:Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (r...
阅读全文
摘要:题目:Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operation -- i...
阅读全文
浙公网安备 33010602011771号