My attempt at solving a series of questions sourced from a variety of sources including hackerrank, codechef and leetcode
- Dynamic Programming Notes Hackerearth
- DP Tutorial involving grids
- Divide and Conquer DP
- TopCoder Tutorial on DP
- Some classical problems:
- Practice Problems:
- String manipulation(basics)
- Z algorithm & Z algorithm II
- Manachar's algorithm & Manacher's algorithm II
- String Hashing
- KMP algorithm
- Rabin-Karp and KMP TopCoder
β | Problem Link | Finished |
---|---|---|
β ββ | Compiler Version | |
β β β | Secrete Messages! | |
β β β | String Queries | |
β β β | Largest Lexicographical Rotation II | |
β β β | EasyPalindrome | |
β β β | Statistics of strings | |
β β β | Last Forever |
β | Problem Link | Finished |
---|---|---|
β ββ | Palindrome Index | |
β ββ | Weighted Uniform Strings | |
β β β | Sherlock and Anagrams | |
β β β | Bear and Steady Gene | |
β β β | Circular Palindromes |
β | Problem Link | Finished |
---|---|---|
β β β | Another Problem on Strings | |
β β β | AB-string | |
β β β | Prefixes and Suffixes |
β | Problem Link | Finished |
---|---|---|
β ββ | Same Tree | |
β ββ | Invert Binary Tree | |
β β β | Binary Tree Longest Consecutive Sequence | |
β β β | Most Frequent Subtree Sum | |
β β β | Lowest Common Ancestor of a binary tree | |
β β β | N-ary Tree Level Order Traversal | |
β β β | Sum of distances in tree |
- Algorithm Gym :: Graph Algorithms
- Basic Graph Theory
- π₯ Breadth-First Search(MIT OCW playlist-Youtube)
- π₯ Depth-First Search, Topological Sort (MIT OCW playlist-Youtube)
β | Problem Link | Finished |
---|---|---|
β ββ | PPATH(SPOJ) | |
β ββ | Draughts(CodeChef) | |
β β β | Distant Relatives(CodeChef |
-
Dijkstra
-
π₯ Dijkstra's Algorithm Single Source Shortest Path Graph Algorithm(Youtube)
-
Bellman Ford
-
π₯ Bellman-Ford Algorithm Single Source Shortest Path Graph Algorithm(Youtube)
-
Floyd Warshall
-
π₯ Floyd Warshall Algorithm All Pair Shortest Path Graph Algorithm(Youtube)
β | Problem Link | Finished |
---|---|---|
β β β | Minimum Valid Path | |
β β β | Chef and Digit Jumps | |
β β β | Road Decoration | |
β β β | Mice and Maze |
β | Problem Link | Finished |
---|---|---|
β ββ | Marriage Problem | |
β β β | Roads not only in Berland | |
β β β | Lexicographically minimal string | |
β β β | Consecutive Letters |
- π₯ Kruskal's algorithm Minimum Spanning Tree Graph Algorithm(Youtube)
- Minimum spanning tree - Kruskal with Disjoint Set Union(CP-Algorithms)
β | Problem Link | Finished |
---|---|---|
β β β | Bytelandian Blingors Network | |
β β β | Roads in HackerLand | |
β β β | MST Queries | |
β β β | Cost |
- π₯ Video, for better Understanding and Visualisation(Youtube)
- Blog, with Explanation, Implementation and Practice Problems(CP-Algorithms)
β | Problem Link | Finished |
---|---|---|
β ββ | Thor | |
β ββ | Zeros and Ones | |
β β β | Help Ashu | |
β β β | Distinct Digits II | |
β β β | Micro and Array Function |