Because of its LIFO nature, the stack data structure is used for recursion. The stack is maintained by the operating system to save iteration variables on each function call.
Which data structure is used to perform recursion?
robort - 2022-09-16 06:33:50