0

how is recursion used?

5th Sep 2016, 4:38 PM
Purna Blooper
Purna Blooper - avatar
2 Respostas
+ 1
There are many possibilities. For example, I used it in program for finding way out of the labyrinth. It goes random way in the next iteration and if there is no way, program revert to a last possible place.
6th Sep 2016, 11:19 AM
Denis Glotov
Denis Glotov - avatar
0
How? Just call a method inside its declaration block.
12th Sep 2016, 4:53 PM
Erwin Mesias
Erwin Mesias - avatar