All notes, in reading order

958 published notes across every category.

Data Structures

Wiggle Sort II

Wiggle Sort II (LeetCode 324): strict nums[0] < nums[1] > nums[2]... via sorting and interleaving the two halves in reverse. O(n log n), Python/Java/C...

Read more