In a recursive algorithm, the auxiliary space complexity is typically:
O(log n)
O(n)
O(1)
O(n^2)

Data Structures and Algorithms Exercises are loading ...