Commit Graph

5 Commits (4eae44bcd8552a0580ec27139536f9f8f98f905f)

Author SHA1 Message Date
Anton Hulikau 4eae44bcd8
Update lru_cache.py
[] operator can raise KeyError in dict.
2018-04-03 01:53:36 +03:00
cclauss 0178943013 Add missing colons to class methods (#143) 2018-03-18 09:19:08 -04:00
cclauss f099a0ad3f Convert all .py files to be valid Python (#98) 2018-03-06 19:37:46 -05:00
Ian Park 17e5fb7d32 Add prev to Node class (#82)
For managing an LRU cache, we need to use a doubly linked list for move_to_front() operation.
2017-06-05 20:25:04 -04:00
Donne Martin ae9832c6b7 Add LRU Cache solution 2017-03-03 18:53:54 -08:00