Showing posts from January, 2012

Recursive Binary Search in java

Algorithm :  Algorithm is quite simple. It can be done either recursively or iteratively:   get the middle element;  if th… Read More>>

QuickSort in java using divide and conquer algorithm

Algorithm : Quicksort is a  divide and conquer algorithm . Quicksort fi… Read More>>

Calculate age in java

Here, you can calculate the age of a person easily through the given program. This program takes your complete date of birth … Read More>>

Convert decimal to binary using Stacks in Java

How to convert decimal into binary using stacks. You all are aware of Stacks . It performs two basic operations push and pop… Read More>>

Mergesort in Java using divide and conquer

Merge sort is a divide and conquer algorithm. The sorting elements are stored in a collection. This collection is divided i… Read More>>

Binary search in array in java using divide and conquer

Let LIST be a list of elements that are sorted in non-decreasing order. Consider the problem of determining whether a given e… Read More>>

Stack Data Structure in Java

Stack data structure : A stack is a limited version of an array.  New elements or nodes as they are often Called, can be ad… Read More>>

Load More Posts That is All