Recursion Programs in Java

Recursion

 
Recursion is a process of a method calling itself.

Recursion can be used to solve problems where a logic needs to executed repeatedly for a smaller set.

Here are 10 recursion algorithms in Java.
 
Recursion programs in Java

Recursion Programs in Java

 

  1. How to find factorial of a number using recursion ? (Solution)
  2.  

  3. How to find the sum of digits of a number using recursion ? (Solution)
  4.  

  5. How to convert a number from Decimal to Binary using recursion ? (Solution)
  6.  

  7. How to calculate Power of a number using recursion ? (Solution)
  8.  

  9. How to reverse a LinkedList using recursion ? (Solution)
  10.  

  11. How to form the Fibonacci series using recursion ? (Solution)
  12.  

  13. How to do a recursive binary search to find a number in an array ? (Solution)
  14.  

  15. Write recursive Quicksort algorithm in Java. (Solution)
  16.  

  17. How to find GCD(Greatest Common Divisor) of two numbers using recursion ? (Solution)
  18.  

  19. How to find all permutations of characters in a String using recursion ? (Solution)
  20.  

 

You may also like :

 

 

© 2016, https:. All rights reserved. On republishing this post, you must provide link to original post

Leave a Reply.. code can be added in <code> </code> tags