Releases: ankitjha2603/algorithm-visualizer
Releases · ankitjha2603/algorithm-visualizer
Basic Sorting, Binary search and Backtracking algorithm
Algorithm Visualizer
This is a project to visualize algorithms using HTML, CSS, JavaScript.
- What is Algorithm
An algorithm is a set of instructions for solving a problem or accomplishing a task.
The algorithm is the most important part of any program.
Algorithm
-
Sorting Algorithm
- Bubble sort (Time complexity = О(n2))
- Insertion Sort (Time complexity = О(n2))
- Selection Sort (Time complexity = О(n2))
- Quick sort (Time complexity = О(log2n)
- Merge sort (Time complexity = О(log2n)
-
Binary Search
- Binary search on Sorted array (Time complexity = О(log2n)
- Binary search in infinite sorted array (constant speed) (Time complexity = О(log2n)
- Binary search in infinite sorted array (exponential speed) (Time complexity = О(log2n)
- Binary search on rotated sorted Array (Time complexity = О(log2n)
-
Backtraking
- Sudoku solver (Time complexity = О(9n))
- nQueen problem Solver (Time complexity = О(2n))