Is a hashset ordered?
Answer / Sachin Dev Verma
No, a HashSet (in Java) does not maintain the elements in any particular order. It stores unique elements and provides fast lookup operations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does treeset allow duplicates?
Is linkedlist thread safe?
Why do we use trees in data structures?
Explain what are the major data structures used in the hierarchical data model?
What is data structure definition?
What is the space complexity of quicksort?
What is the family trees and connection by clause?
What is red black tree in data structure?
What is the complexity of selection sort?
Which is the parent class of abstractqueue class?
Write a program for Sorting an Array. Which sorting will you prefer?
Why is concurrenthashmap thread safe?