Definition
Space Complexity
The space complexity of an algorithm or data structure is the amount of memory space required to solve an instance of a problem as a function of characteristics of the input. 1
Space Complexity
The space complexity of an algorithm or data structure is the amount of memory space required to solve an instance of a problem as a function of characteristics of the input. 1