HashMap: Part of JCF & implements the Map interface.
- Stores element in key-value pairs.
- Keys are unique and values can be duplicated.
class Solution { public List < List < Integer >> threeSum ( int [] nums ) { Arrays . sort (nums); // first sort...
No comments:
Post a Comment