摘要: Design a HashMap without using any built-in hash table libraries. Implement the MyHashMap class: MyHashMap() initializes the object with an empty map. 阅读全文
posted @ 2020-08-27 07:11 CNoodle 阅读(195) 评论(0) 推荐(0)
摘要: Design an iterator to flatten a 2D vector. It should support the next and hasNext operations. Implement the Vector2D class: Vector2D(int[][] vec) init 阅读全文
posted @ 2020-08-27 02:09 CNoodle 阅读(236) 评论(0) 推荐(0)