← Questions
Cache with a snapshot printer
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Build a cache much like an LRU cache, with one extra function, snapshot(cache), that prints the cache's current contents in order. A second part builds on it with a compressed input to handle.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
