Commit Graph

5 Commits (73fd62fe855d9306665249ffd3510a9c716cfb7e)

Author SHA1 Message Date
Anton Hulikau 73fd62fe85
Update lru_cache.ipynb
[] operator can raise KeyError, if query not in dict.
2018-04-03 01:52:08 +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