Can you sort a hashset?
Answer / Bhawani Shankar
No, by definition a HashSet does not maintain any order. It only guarantees that no duplicate elements will exist.
| Is This Answer Correct ? | 0 Yes | 0 No |
What's difference between stack and queue?
What is advantage and disadvantage of linked list?
What do you mean by: Syntax Error, Logical Error, Runtime Error?
7 Answers College School Exams Tests, Microsoft,
Define static data structures?
What is harvesting in agriculture?
Will hashmap allow null keys?
Define internal nodes?
How to sequentially represent max-heap?
What is weight balanced tree in data structure?
What do you mean by 2-3-4 tree?
What will you prefer for traversing through a list of elements between singly and doubly linked lists?
Find duplicates in infinite range. Which data structure to be used to give efficient solution?