AlgoViz

O(log n) logarithmic space

easy 14 min

O(log n) space almost always means a recursion whose call stack is logarithmically deep: each call halves the problem, so only about log₂ n frames are alive at once.