Consider an algorithm that processes an array of size 'n'. Its space complexity can be represented as:
O(n)
O(log n)
O(1)
O(n^2)

Advanced Data Structures Exercises are loading ...