ended6월 12일· 1 sources

Halving, Not Magic: Understanding the Mathematics of O(log n)

Binary Search부터 B-Tree까지: O(log n) 알고리즘의 숨은 비결

Why it matters

Most engineers treat O(log n) as magic without grasping its foundation. This article reveals that logarithms simply count the number of halvings—a unifying principle underlying binary search, balanced trees, heaps, and divide-and-conquer algorithms. Understanding this mechanism transforms algorithm design from rote memorization into intuitive pattern recognition.

1
Sources
+0
24h
Growth
101d
Active
binary searchlogarithmhalvingdivide and conquerbalanced treesbinary heap

Sources

Related Issues