Kartik Prabhu
So the cache is a queue—oldest items first—not a stack! Never realised this before. Thanks for sharing your code.
Kartik Prabhu
In times like these I wish there was a class in Basic Logic in high schools, but then, people would say “Why? I have never used logic in my life!” and sadly, they’d be right!