Why do we have to do only 1 task by ourselves and another task by recursion can’t we make all task done by recursion?
here in my code, I made all the tasks done by recursion only
just added a base case to let recursion know when to stop…
here all task is done by recursion