How does linkedhashset work internally?



How does linkedhashset work internally?..

Answer / Arun Kumar Sahu

A LinkedHashSet uses a doubly-linked list to store its elements. This allows for efficient iteration in the order that elements were added, as well as fast lookups and removals.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is the best sorting technique?

1 Answers  


Can array store heterogeneous data?

1 Answers  


What are the tasks performed during preorder traversal?

1 Answers  


Can we create a null as a key for a map collection?

1 Answers  


Differentiate between iterator and enumeration.

1 Answers  


do records fall under linear or non linear data structures?

1 Answers  


What is list and its types?

1 Answers  


Which sort algorithm is best?

1 Answers  


What do you mean by: Syntax Error, Logical Error, Runtime Error?

7 Answers   College School Exams Tests, Microsoft,


What are the advantage of collection classes over arrays?

1 Answers  


Explain the terms base case, recursive case, binding time, run-time stack and tail recursion.

1 Answers  


What is the difference between array and list?

1 Answers  


Categories