## Binary Search using Recursion in Java

Write a program to implement a Binary search using recursion in java. In this tutorial, I am going to discuss binary search algorithm and it’s implementation using recursion in Java.

In my previous tutorial, i have explained how to implement binary search in java using iterative approach.

## Java Program to Reverse Each Words of a String

Write a java program to reverse each words of a string.  Suppose, If an input string is Java Programming then the output string should be avaJ gnimmargorP.

## Find Sum of Array Elements using Recursion – Java Code

Write a java program to find sum of array elements using recursion. Given an array of integers, we have to write a java code to calculate sum of array elements using recursion.

Subscribe Our Tutorials

For example :

Input: arr[] = {2, 5, 6, 8, 9, 12}

Output : 42 (2+5+6+8+9+12)

## Java Program to Check Armstrong Number

Write a java program to check Armstrong number. In this program, we are going to write a java code which checks whether a number is Armstrong or not.

Let’s first understand what is Armstrong number?

## Java Program to Find Missing Number in Array

Write a java program to find missing number in array. Given an array of n-1 integers and these integers are in the range of 1 to n. One of the integer is missing from an array. We have to write an efficient java code to find missing number from an array. An array does not contains any duplicates.

## Binary Search in Java

Write a program to implement Binary Search in Java. In this tutorial, we are going to implement a binary search algorithm in Java. Before implementing this algorithm, let’s first understand what is binary search and how it works.

## Find GCD of Two Numbers using Recursion – Java Code

Write a Java program to find GCD of two numbers using Recursion. Given two input integers, we have to write a code to find GCD of two numbers using recursion. For this program, I assume you are familiar with the concept of recursion. If you don’t know about recursion then check my previous post on recursion vs iteration.

## Java Program to Print Numbers from 1 to 100 without using Loop

Write a java program to print numbers from 1 to 100 without using loop.  This is a very interesting and tricky problem for beginners. You have to think how to solve this problem without using loop.

This problem can be easily solved using loop, (for and while loop).  So, how do you solve this problem without using loop? The answer is using recursion.

So, In this tutorial, we are going to solve this problem using recursion.

## Bubble Sort Program in Java

In this tutorial, We are going to learn bubble sort algorithm and it’s implementation in java. We are going to discuss following points in this tutorial.

i) Bubble Sort Algorithm.
ii) Bubble sort program in java (How we can sort an unsorted array using bubble sort algorithm).
iii) Bubble sort video tutorial.