Misc

Binary Search

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

Brute-Force

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

Damm Algorithm

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

Dice Throw Problem

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

Knapsack Problem

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

N Queen Problem

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

Sudoku

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

Swap

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

This algorithm exchanges the value of two variables.

Tower of Hanoi

Admin | 30-Nov-2015 | C#, VB.Net, C, C++, PHP

The Tower of Hanoi (a.k.a Tower of Brahma and Lucas' Tower) is a mathematical game or puzzle.        ...

Unique Combinations

Admin | 05-Apr-2016 | C#, VB.Net, C, C++, PHP

This algorithm finds all unique combinations in a specified list of values.