Implement Python LRU cache with args and persistence | Anthropic Interview Question