What is the role of space complexity in evaluating an algorithm's efficiency?
It determines the correctness of the solution
It evaluates the amount of memory storage required by the algorithm
It assesses the simplicity of the algorithm's design
It measures how quickly users can learn the algorithm