Skip to content

LinkedHashMap in Java

This directory covers LinkedHashMap, which is a hash-table and doubly-linked-list implementation of the Map interface, preserving insertion and access ordering.

Lessons Map

  1. 01_Introduction.md: What is LinkedHashMap? Introducing order preservation.
  2. 02_Why_LinkedHashMap.md: Ordering limitations of standard HashMap.
  3. 03_Creating_LinkedHashMap.md: Syntax and access-order constructors.
  4. 04_Adding_Elements.md: Appending ordered entries using put().
  5. 05_Accessing_Elements.md: Safely accessing elements and LRU caching mode.
  6. 06_Updating_Elements.md: Modifying mapping values.
  7. 07_Removing_Elements.md: Removing elements and checking size.
  8. 08_Iteration.md: Iterating keys/values in insertion order.
  9. 09_Internal_Working.md: Hashing buckets + doubly linked list entries.
  10. 10_Comparison_with_HashMap.md: Performance and memory overhead comparison.
  11. 11_Interview_Questions.md: LinkedHashMap technical Q&As.

Back to Maps Home: Map Index