Algorithms

Linear Search
FACEPrep · 5 min read
Linear Search algorithm is lucidly described and programmed.
Binary Search
FACEPrep · 5 min read
Binary search algorithm is implemented in recursive and iterative search methods.
Selection Sort
FACEPrep · 5 min read
Selection Sort algorithm is implemented in C, C++, JAVA and Python programming languages.
Bubble Sort
FACEPrep · 5 min read
Bubble sort algorithm is explained and implemented in various programming languages.
Insertion Sort
FACEPrep · 5 min read
Insertion Sort algorithm is implemented in C,C++,JAVA and Python programming languages.
Merge Sort
FACEPrep · 15 min read
Merge sort is explained and programmed in C, C++, JAVA, Python languages.
Heap Sort
FACEPrep · 5 min read
Building Heap and implementation of Heap Sort Algorithm to sort the heap.
Quick Sort
FACEPrep · 15 min read
Quick sort method is explained and is compared with its contemporary sorts to comprehend it's applications.
Shell Sort
FACEPrep · 15 min read
Shell Sort is delineated along with programmable implementation.
Comb Sort
FACEPrep · 15 min read
Comb Sort algorithm is explained and programmed in C++, JAVA and Python.
Pigeon Hole Searching and Sorting
FACEPrep · 15 min read
Pigeon Hole Searching and Sorting Algorithm is explained with defined Programmable solutions.
Find K closest elements in a given array
FACEPrep · 20 min read
Find K closest elements in a given array using optimized Binary Search Algorithm is implemented and explained lucidly in this article.
Interpolation Search
FACEPrep · 20 min read
Interpolation Search is Explained in detail along with Programmable solutions in C, Java and Python Programming languages.
Program to find the nearest value pair among the two sorted arrays
FACEPrep · 5 min read
A Programmable solution to find the nearest value pair among the two sorted arrays is delineated in the article.
Write a program to find the minimum number of platforms needed in a railway station.
FACEPrep · 5 min read
Programmable solution's to find the minimum number of platforms needed in a railway station.
Find the minimum cost path from origin to destination - (Dynamic Programming)
FACEPrep · 5 min read
Recursive and Dynamic Programming implementations to find the minimum cost path for the traversal.
(0-1) Knapsack problem using Dynamic Programming
FACEPrep · 5 min read
Dynamic Programming based solution for 0-1 Knapsack problem
Print all possible permutations of a given string.
FACEPrep · 5 min read
Print all possible permutations of a string with 'n'distinct characters.
The Knights Travel in a Chessboard using Backtracking Algorithmic Paradigm.
FACEPrep · 5 min read
The Knights Travel in a Chessboard using Backtracking Algorithmic Paradigm.
Rat inside a maze (Using Backtracking Algorithm)
FACEPrep · 5 min read
Rat in a maze- best path solution using Backtracking Algorithmic paradigm.
Number of Queens that can be placed in chessboard without influence of other.
FACEPrep · 5 min read
Maximum number of queens that can be placed in a chessboard without attacking eachother.
Find all the subsets whose sum is equal to 'K'
FACEPrep · 5 min read
Find all the subsets whose sum is equal to 'K'
Adjacent vertices of a graph should not have same color. (Backtracking Algorithm)
FACEPrep · 5 min read
Adjacent vertices of a graph should not have same color. (Backtracking Algorithm)
Hamilton Circuit using Backtracking Algorithm
FACEPrep · 5 min read
Implementation of Hamilton Circuit using Backtracking algorithm in C, C++, JAVA and Python programming languages.
Solve Sudoku using Backtracking Algorithm
FACEPrep · 5 min read
Sudoku is solved in Python3 and C++ languages using Backtracking algorithm.
Tug of War of integers in a matrix using Backtracking Algorithm
FACEPrep · 5 min read
Tug of war between integers problem: Explained and implemented in C++ and JAVA.
Median of two sorted arrays of same size
FACEPrep · 5 min read
Median of two sorted arrays of same size is explained in this article.
Divide and Conquer Introduction
FACEPrep · 5 min read
A brief introduction to Divide and Conquer Algorithmic Paradigm.
program to compute pow(x,n)
FACEPrep · 5 min read
Disparate methods to calculate x^n are explained and programmed in C,JAVA and Python languages.