Latest Algorithms

Median Of Two Sorted Arrays

Admin | 04-Jan-2017 | C#, VB.Net, C, C++

This algorithm finds the median of two sorted arrays by first getting medians of the two sorted arrays and then comparing them.

Anagram Substring Search

Admin | 29-Dec-2016 | C#, VB.Net, C, C++, PHP

This algorithm searches for all the occurrences of pattern and its permutations (or anagrams) in the specified text.

Atbash Cipher Helper

Vitaly Kopytich | 20-Dec-2016 | PHP

Atbash is a mono-alphabetic substitution cipher originally used to encode the Hebrew alphabet. It can be modified for use with any known alphabet. ...

Optimal Mismatch Algorithm

Admin | 13-Dec-2016 | C#, VB.Net, C, C++

This algorithm works by scanning pattern characters from the least frequent one to the most frequent one. Doing so one may hope to have a mismatch ...

Transposition Cipher

Admin | 06-Oct-2016 | C#, VB.Net, C, C++, PHP

In cryptography, a transposition cipher, also known as columnar transposition cipher, is a simple and easy to implement cipher. This cipher follows a ...

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

Fisher–Yates Shuffle

Admin | 18-Jun-2016 | C#, VB.Net, C, C++, PHP

Fisher–Yates shuffle, also known as Knuth shuffle, is an algorithm for generating a random permutation of a finite set—in plain terms, ...

Dijkstra's Algorithm

Admin | 11-Jun-2016 | C#, VB.Net, C, C++, PHP

Dijkstra's algorithm, also known as single-source shortest paths, solves the problem of finding the shortest path from a point in a graph (the ...

Bellman–Ford Algorithm

Admin | 11-Jun-2016 | C#, VB.Net, C, C++, PHP

Bellman–Ford algorithm, also known as Bellman–Ford–Moore algorithm, is an algorithm that computes shortest paths from a single ...

Floyd–Warshall Algorithm

Admin | 11-Jun-2016 | C#, VB.Net, C, C++, PHP

Floyd–Warshall algorithm, also known as Floyd's algorithm, the Roy–Warshall algorithm, the Roy–Floyd algorithm, or the WFI ...