If you are preparing for interviews or want to know the nitty-gritty of LRU cache you should read this article. Long but a very good one. Adrian explained stuff amazingly with code & test cases.
If you are preparing for interviews or want to know the nitty-gritty of LRU cache you should read this article. Long but a very good one. Adrian explained stuff amazingly with code & test cases.