An algorithm has an auxiliary space complexity of O(1) and a total space complexity of O(n^2). This indicates that the algorithm:
Uses a constant amount of additional memory.
Uses a logarithmic amount of additional memory.
Uses a linear amount of additional memory.
Uses a quadratic amount of additional memory.

Data Structures and Algorithms Exercises are loading ...