## Binary Search

rupinder | 27-Sep-2015 | C#, VB.Net, C, C++, PHP

Binary search (a.k.a Half-Interval Search) algorithms finds the position of a target value within an array.

rupinder | 27-Sep-2015 | C#, VB.Net, C, C++, PHP

Binary search (a.k.a Half-Interval Search) algorithms finds the position of a target value within an array.

rupinder | 19-Apr-2016 | C#, VB.Net, C, C++, PHP

Brute-Force algorithm (a.k.a brute-force search, exhaustive search) is a very general problem-solving technique that consists of systematically ...

rupinder | 30-May-2016 | C#, VB.Net, C, C++, PHP

In error detection, the Damm algorithm is a check digit algorithm that detects all single-digit errors and all adjacent transposition errors. It was ...

rupinder | 23-Apr-2016 | C#, VB.Net, C, C++, PHP

This algorithm finds the number of ways to get summation of values on each face when all the dice are thrown.

rupinder | 30-Jan-2017 | C#, VB.Net, C, C++, PHP

Interpolation search is an improved variant of binary search. This search algorithm works on the probing position of the required value. For this ...

rupinder | 23-Apr-2016 | C#, VB.Net, C, C++, PHP

The knapsack problem (a.k.a rucksack problem) is a problem in combinatorial optimization: Given a set of items, each with a weight and a value, ...

rupinder | 30-Jan-2017 | C#, VB.Net, C, C++, PHP

Linear search, also known as sequential search is an algorithm for finding a target value within a list. It sequentially checks each element of the ...

rupinder | 09-Jul-2016 | C#, VB.Net, C, C++, PHP

The N Queen, also known as eight queens puzzle, is the problem of placing N chess queens on an N×N chessboard so that no two queens attack each ...

rupinder | 04-Mar-2016 | C#, VB.Net, C, C++

A sudoku puzzle is a grid of nine by nine cells, that has been subdivided into nine subgrids of three by three cells. The objective of sudoku is ...

rupinder | 27-Sep-2015 | C#, VB.Net, C, C++, PHP

This algorithm exchanges the value of two variables.