Search Results
7/20/2025, 8:32:09 PM
in any DSA textbook we'll find out that we have two ways to implement maps - so called "hashmaps" and and the less common "treemaps".
which makes me wonder: why are there no "linked list maps"?
reading elements would obviously be slower - O(n) vs O(log n) - but inserting can be faster if we keep a reference to the tail of the linked list - O(1) vs O(log n).
am i missing something?
which makes me wonder: why are there no "linked list maps"?
reading elements would obviously be slower - O(n) vs O(log n) - but inserting can be faster if we keep a reference to the tail of the linked list - O(1) vs O(log n).
am i missing something?
7/19/2025, 9:12:36 PM
7/17/2025, 9:12:05 PM
7/14/2025, 11:15:42 PM
Page 1