Closed danielpaul closed 2 years ago
What do you mean by make a function recursive ?
What do you mean by make a function recursive ?
have a look at the differences between iterative methods and recursive methods. https://medium.com/backticks-tildes/iteration-vs-recursion-c2017a483890
So the recursive method is something that calls itself. So this is a bit of new thing that you possibly have not done yet that we need to learn. Some links that might help to understand the concept of recurssion:
I will look into it !
Write a function that returns the length of a string. Make your function recursive.
Examples
Notes Check the Resources tab for info on recursion.