Monday, May 13, 2019

146 LRU Cache

Introduction


It is such exciting opportunity for me to learn another hard level algorithm. I spent more than one hour to write C# code, I was able to pass some of test cases. Before I write a completed solution to pass all test cases, I like to document the half-baked solution.

My practice


Here is my C# solution which failed some test cases.


Actionable Items


My goal is to complete 10 hours practice on this algorithm. I like to write down a few mistakes in my design in the practice.


No comments:

Post a Comment