### Binary Search

In this tutorial, you will learn how Binary Search sort works. Also, you will find working examples of Binary Search in C, C++, Java and […]

In this tutorial, you will learn how Binary Search sort works. Also, you will find working examples of Binary Search in C, C++, Java and […]

This is a Java Program to find median of two sorted arrays using binary search approach. In probability theory and statistics, a median is described […]

This is a Java Program to find number of occurences of a given number using binary search approach. The time complexity of the following program […]

Problem Description Given an array of integers, find the contiguous subarray, whose sum of the elements, is maximum.Example: Array = [2 1 3 5 -2 […]

This is a Java Program to find peak element of an array. A peak element of an array is that element which is greater than […]

This is a Java Program to find minimum element of a rotated sorted array. The following program uses a binary search approach to find the […]

This is a java program to find the maximum element using binary search technique. Binary search requires sequence to be sorted. We return the last […]

This is a java program to search sequence using binary search. This is a simple extension of binary search algorithm to find an element. Here […]

This is a java program to compare Binary Search and Linear Search algorithms. Following class provides the time required to search an element for both […]