1p3a_oj Question

LRU Cache

Question Details

Problem: Implement an LRU Cache Design and implement a Least Recently Used (LRU) cache supporting: get(key): return the value if the key exists; otherwise return -1. put(key, value): up

Full Details

🔒

Unlock all Google questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →