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 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.

Subscribe Our Tutorials

Get Latest Updates on Facebook

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.

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.

Find First Non-repeated Character in a String – Java Code

Write a java program to find first non-repeated character in a string. Given an input string, Write a java code to find first non-repeated character in a string.

For example –

i) Input string – java
Output – j (j is the first non-repeating character in a string)

ii) Input string – web rewrite
Output – b (b is the first non-repeating character in a string)