0

What is meaning of recursion

I can't understand the recursion, can you anyone help me?

14th Mar 2021, 1:45 PM
MUNAVIR AHAMMED
MUNAVIR AHAMMED - avatar
4 Respuestas
+ 2
Here you see a very simple example: https://code.sololearn.com/cd5Fv6Jcmgnp/?ref=app And here a more advanced example: https://code.sololearn.com/cMZq8IM2LFhs/?ref=app Hope this helps you.
14th Mar 2021, 2:10 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
MUNAVIR AHAMMED Recursion is the process of defining something in terms of itself. A physical world example would be to place two parallel mirrors facing each other. Any object in between them would be reflected recursively.
14th Mar 2021, 1:53 PM
Sâgærāvürï
Sâgærāvürï - avatar
0
recursion is when a function is called itself (that means you need a base case to stop recursion)...
14th Mar 2021, 1:47 PM
visph
visph - avatar
- 1
No one can really help you. You have to slow down your speed when understanding this subject. Step by step draw recursion traces by pen and paper. First start by modifying example codes to see effect. Then try to write a few functions by your own without looking other codes.
14th Mar 2021, 4:12 PM
deleted