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