Can a hashmap have duplicate keys?
Answer / Mohammad Mohsin
No, a HashMap (or Dictionary in some languages) does not allow duplicate keys. Each key in a HashMap must be unique.
| Is This Answer Correct ? | 0 Yes | 0 No |
List the applications of stacks?
What is array define its types?
What are scalar values?
Provide an algorithm to reverse a linked list without using recursion.
Is an arraylist a vector?
Why would we use dynamically allocated arrays vs vectors?
What is dynamic array in excel?
Can we sort hashmap?
What is an ordered map?
What is map data structure?
What actions are performed when a function returns?
Will arraylist maintain insertion order?