+ 3

What is a recursion in Java

12th Nov 2016, 2:45 AM
Jasjot Singh
Jasjot Singh - avatar
6 Respuestas
+ 9
Recursion is a method where the solution to a problem depends on solutions to smaller instances of the same problem (as opposed to iteration). The approach can be applied to many types of problems, and recursion is one of the central ideas of computer science.
12th Nov 2016, 5:20 AM
Remmae
Remmae - avatar
+ 4
Recursion is when a function calls itself. So, it can be useful for something like the Collatz Conjecture (where the function will call itself inless it's one). The Collatz Conjecture, or the 3N + 1 conjecture, is a really fun program.
12th Nov 2016, 3:19 AM
Keto Z
Keto Z - avatar
+ 1
Recursion is a process in which a function call itself unless and until a condition is satisfied...
12th Nov 2016, 1:30 PM
Play
Play - avatar
0
when a function calls itself or any other function again and again through its code it is called as recursion.
12th Nov 2016, 7:34 AM
MSK
MSK - avatar
0
function which calls itself
14th Nov 2016, 3:41 PM
shahid
shahid - avatar
0
Recursion is the method by which a function calls itself
8th Feb 2017, 6:15 AM
SURAJ KUMAR RAM
SURAJ KUMAR RAM - avatar