Skip to content

This repo contains algorithms that can be helpful for competitive coders. For getting a good hand at algorithms and applying them to reduce writing time during online contests.

Notifications You must be signed in to change notification settings

let-s-al-go/Algorithms-1

 
 

Repository files navigation

Templates

Algorithms to prepare yourself for CCDSAPs and other competitive exams. Getting ready for interviews and stuffs.

This repo consists of algorithms including :

1.Heaps (priority queue) 2.Disjoint Set Union 3.Segment Trees 4.Binary Index Tree (Fenwick tree) 5.Trees (traversals, tree dynamic programming) 6.Finding Lowest Common Ancestors (O(log N) solution where N is number of nodes). 7.Graph Algorithms: a.Finding connected components and transitive closures. b.Shortest-path algorithms (Dijkstra, Bellman-Ford, Floyd-Warshall) c.Minimum spanning tree (Prim and Kruskal algorithms) d.Biconnectivity in undirected graphs (bridges, articulation points) e.Strongly connected components in directed graphs 8.Topological Sorting 9.Euler path, tour/cycle. 10.Modular arithmetic including division, inverse 11.Amortized Analysis 12.Divide and Conquer 13.Advanced Dynamic Programming problems (excluding the dp optimizations which are added in expert level) 14.Sieve of Eratosthenes

About

This repo contains algorithms that can be helpful for competitive coders. For getting a good hand at algorithms and applying them to reduce writing time during online contests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%