How to Flatten 2D Vector in C++? September 1, 2019 algorithms, c / c++ No Comments Design and implement an iterator to flatten a 2d vector. It should support the following operations: next and hasNext. Example: Vector2D iterator = new Vector2D(,,]); iterator.next(); // return 1 … [Continue Reading...]