LeetCode 146. LRU Cache | JavaScript & Algorithm

Опубликовано: 25 Октябрь 2024
на канале: JSer
3,680
31

Map + LinkedList. But Javascript Map actually keeps track of the key in order, so built-in map would be sufficient enough

Here is my code https://github.com/JSerZANP/leetCode_...
Hi I'm a JavaScript engineer who is not good at algorithms,
and currently practicing leetCode online. If you are interested, maybe we can learn together.