Python strengths
- `collections.deque`, `heapq`, and `bisect` cover most data-structure needs without imports beyond stdlib.
- List comprehensions and tuple unpacking keep code density high — the interviewer can read your intent in one line.
- `@cache` and `functools.lru_cache` turn a recursive DP into a memoized DP in a single decorator.