The O(n) Club Array Math Divide and Conquer Geometry Sorting Heap (Priority Queue) Quickselect The O(n) Club: K Closest Points to Origin: Or, How to Avoid a Heap of Regret The O(n) Club: K Closest Points to Origin—Or, How to Avoid a 2 min read