IO
Roadmap/Graphs
7 subtopics · 51 problems

Graphs

Work through 7 subtopics covering 51 problems, ordered from foundational to advanced.

51Total problems
0Solved
0Attempted
0%Completion
Introduction to Graphs (Learn)
Graph
Graph Representation (Learn)
Graph
Undirected Graph — Adjacency Matrix
Graph · Arrays
Directed Graph — Adjacency Matrix
Graph · Arrays
Undirected Graph — Adjacency List
Graph · Hashing
Directed Graph — Adjacency List
Graph · Hashing
BFS Traversal
Amazon
Microsoft
Graph · BFS · Queue
DFS Traversal
Amazon
Microsoft
Graph · DFS · Recursion
Number of Provinces
Amazon
Microsoft
Graph · DFS · Union Find
Number Of Islands
Amazon
Microsoft
Google
+1
Graph · BFS · DFS
Rotten Oranges
Amazon
Microsoft
Graph · BFS · Queue
Flood Fill
Amazon
Microsoft
Graph · BFS · DFS
Detect Cycle in Undirected Graph (BFS)
Amazon
Graph · BFS
Detect Cycle in Undirected Graph (DFS)
Amazon
Graph · DFS
Nearest Zero
Amazon
Google
Graph · BFS
'O' Within 'X' Boundary
Amazon
Microsoft
Graph · DFS · BFS
Number of Enclaves
Graph · DFS · BFS
Word Transformation Sequence
Amazon
Microsoft
Google
+1
Graph · BFS · Hashing
Number Of Distinct Islands
Amazon
Google
Graph · DFS · Hashing
Bipartite Graph — DFS
Amazon
Google
Graph · DFS · BFS
Detect Cycle In A Directed Graph
Amazon
Microsoft
Graph · DFS · Topological Sort
Topological Sort
Amazon
Microsoft
Google
Graph · DFS · Topological Sort
Kahn's Algorithm
Amazon
Microsoft
Google
Graph · BFS · Topological Sort
Cycle Detection In DAG Using Kahn's Algorithm
Amazon
Graph · BFS · Topological Sort
Task Completion I
Amazon
Google
Graph · Topological Sort · BFS
Task Completion II
Amazon
Google
Graph · Topological Sort · BFS
Safe Nodes
Google
Graph · Topological Sort · DFS
Alien Dictionary Sort
Amazon
Google
Meta
Graph · Topological Sort · Strings
Shortest Path in Undirected Graph
Amazon
Graph · BFS
Shortest Path DAG
Amazon
Graph · Topological Sort · Dynamic Programming
Dijkstra's Algorithm
Amazon
Microsoft
Google
Graph · Heap · BFS
Shortest Distance in Grid
Amazon
Graph · BFS · Heap
Minimum Effort Path
Amazon
Google
Graph · Heap · Binary Search
Cheapest Flight within K Stops
Amazon
Google
Graph · Bellman-Ford · Dynamic Programming
Number of Ways to Arrive at Destination
Amazon
Graph · Dijkstra · Dynamic Programming
Minimum Steps to Reach a Target
Graph · BFS
Bellman-Ford Algorithm
Amazon
Google
Graph · Dynamic Programming
Floyd Warshall
Amazon
Microsoft
Google
Graph · Dynamic Programming
City With Least Neighbors
Amazon
Graph · Floyd Warshall
Minimum Spanning Tree (Learn)
Graph · Greedy
Prim's Algorithm Implementation
Amazon
Microsoft
Graph · Heap · Greedy
Disjoint Sets Implementation
Amazon
Microsoft
Google
Union Find · Graph
Kruskal's Algorithm Implementation
Amazon
Microsoft
Graph · Union Find · Greedy
Graph Connectivity
Amazon
Graph · Union Find · DFS
Gem Removal Challenge
Graph · Union Find
Merge User Profiles
Amazon
Google
Graph · Union Find · Hashing
Number Of Islands II
Amazon
Google
Graph · Union Find
Largest Connected Group
Amazon
Graph · Union Find
Find Bridges
Amazon
Google
Graph · DFS
Articulation Points
Amazon
Google
Graph · DFS
Strongly Connected Components
Amazon
Google
Graph · DFS · Topological Sort