LibAlgo - Algorithm Specific Webpage

Algorithm Library made in the course Algorithm Analysis and Design under Prof. Srinathan Kannan

Algorithms


Divide and Conqeur

Master Theorem, Merge Sort, Strassen's Matrix Multiplication, Median of Medians, Fast Fourier Transform

Greedy Algorithms

Prim's Algorithm, Kruskal Algorithm, Path Compression, Huffman coding, Set Cover Problem

Tractable Problems

nth Fibonacci, Karatsuba Algorithm

Dynamic Programming

Shortest Path in DAG, Longest Increasing Subsequence, Edit Distance, Chain Matrix Multiplication, Knapsack, Shortest Reliable Path, Floyd Warshall Algorithm, Independent Set in Trees

Number Theory

Algorithms included: Euclid's GCD Algorithm, Euclid's Extended Algorithm, Modular Division, Miller Rabin Randomised Primality Testing

NP, P, NP-complete and NP-Hard problems

Small Description about NP, P, NP-complete and NP-Hard problems