ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Recursion
Recursion
Recursion
 A method of programming whereby a
function directly or indirectly calls itself.
 Recursion is the process where a method call
itself to be able to perform a certain task.
 The process of repeating the same thing till
you are done is called recursion.
 Recursion if an important concept in
computer science. Many algorithms can be
best described in terms of recursion.
Recursion
 Recursion is a computer programming
technique involving the use of a procedure,
subroutine, function, or algorithm that calls
itself in a step having a termination
condition so that successive repetitions are
processed up to the critical step where the
condition is met at which time the rest of
each repetition is processed from the last
one called to the first.
Example of Recursion
EXAMPLE OF RECURSION
Recursion

More Related Content

Recursion

  • 4.  A method of programming whereby a function directly or indirectly calls itself.  Recursion is the process where a method call itself to be able to perform a certain task.
  • 5.  The process of repeating the same thing till you are done is called recursion.  Recursion if an important concept in computer science. Many algorithms can be best described in terms of recursion.
  • 6. Recursion  Recursion is a computer programming technique involving the use of a procedure, subroutine, function, or algorithm that calls itself in a step having a termination condition so that successive repetitions are processed up to the critical step where the condition is met at which time the rest of each repetition is processed from the last one called to the first.