Specialisation Course for Competitive Programming
Prateek Narang & Apaar Kamal
Google Software Engineers, Competitive Programmers, Instructors
I'm a software engineer
and course instructor,
creator of Coding Minutes
trained over 50,000 programmers!
If you can answer "Yes" to all of these -
Are you proficient in any one programming language?
Do you have some familiarity with data structures?
Do you want to master all graph algorithms?
We will implement the codes in C++
Java, Python, JS programmers can still do this course, and implement the same algorithms.
Graph Essentials (Part-I)
Graph Advanced Algorithms (Part-II)
80+ Coding Questions for Practice
Graph Essentials
Representation
Breadth First Search
Depth First Search
Cycle Detection
Disjoint Set Union
Min Spanning Trees
Shortest Paths
(Dijkstra's, Bellman Ford, Floyd Warshall)
Graphs Advanced
Flood Fill
Multi Source BFS
DFS Trees & Backedge
Articulation Points & Bridges
SCC
Trees
Euler Tour
LCA
Network Flow
So Are you Ready?
Edges = { (0,1) , (0,3), (0,2) , (2,1) }
Topological sorting for Directed Acyclic Graph (DAG) is a linear ordering of vertices such that for every directed edge u v, vertex u comes before v in the ordering. Topological Sorting for a graph is not possible if the graph is not a DAG.
TSP is classified as NP-hard because it has no “quick” solution and the complexity of calculating the best route will increase when you add more destinations to the problem.
Brute Force Approach
Calculates and compares all possible permutations of routes or paths to determine the shortest unique solution