-
Create a method that output unique values in a 2D array
-
Ensure your tests are passing
- A method to remove collision using Hashset
- create a hash set to remove collison among duplicates
- create a list to return the data
- Add all the values to hashset
- Add allt the values to a list
- Return the list
-
Space Complexity O(n^2) for a 2d array
-
Time Complexity O(n2) for two for loops in the main method
