Answer: D) In theory, an algorithm can have as much memory as necessary
Step-by-step explanation:
Memory requirement is the management of memory location in the memory system. It basically keep track all the memory location and allocate the given memory dynamically.
It does not include the theory in an algorithm which can have memory as necessary because algorithm is the list of the rules in order to solve the many of the solution and it is not needed much memory as necessary.