← Divide & Conquer
Divide & Conquer Target: 5s
Custom key sorting is Python's primary sort mechanism. Foundation for interval and custom-order problems.
a.sort(key=lambda x: x[1])
Type it from memory. Go.