2 entries tagged with competitive programming
Algorithms & Data Structures
An LRU cache needs a hashmap and a doubly-linked list to get O(1) get and put
27 May 2026
Binary search works on any monotone predicate, not just sorted arrays
6 May 2026