Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Fork me on GitHub

Another good source for all Graph Algorithms at one spot : Graaaaaphs 🔭

Graph : 🚩

🔽Click to 🔍 and 😵 the sub-topics (Example : BFS, DFS) 📁BFS_DFS
📁Disjoint Set
📁Topological Sorting
📁Dijkstra's Algorithm Problems
📁Bellman-Ford Algorithm Problems
📁Floyd Warshall

Questions

Problem Name
BFS Traversal
DFS Traversal (Iterative & Recursive)
All Paths From Source to Target (Leetcode-797)
Detect cycle in a directed graph (BFS)
Detect cycle in a directed graph (DFS)
Cycle Detection (Color Technique)
Check If Two Nodes Are On Same Path In A Graph (DFS)
Detect cycle in an undirected graph (DFS)
Detect cycle in an undirected graph (BFS)
Detect cycle in an undirected graph (Disjoint Set)
Detect cycle in an undirected graph (Disjoint Set: Union by rank and path compression)
Number of Islands (Leetcode-200)
Number of Distinct Islands : Leetcode-694
Clone Graph (DFS, BFS) (Leetcode-133)
Strongly Connected Components (Kosaraju's Algo)
Find Mother Vertex in Directed Graph
Rotting Oranges (Leetcode - 994)
Minimum Spanning Tree (Prim's)
Largest Component Size by Common Factor (3 approaches) (Leetcode-952)
Find whether path exist (DFS)
Find whether path exist (BFS)
Word Ladder (Leetcode-127)
Word Ladder II (Leetcode-126)
Open the Lock (Leetcode-752)
Min Cost to Connect All Points (Leetcode-1584)
Find the Celebrity (Leetcode-277)
Minimum Spanning Tree (Kruskal's Algorithm)
Minimum Spanning Tree (Prim's Algorithm (Adjacency List))
Minimum Spanning Tree (Prim's Algorithm (Adjacency Matrix))
Evaluate Division (Leetcode : 399)
Throne Inheritance (Leetcode : 1600)
Jump Game IV (Leetcode : 1345)
Is Graph Bipartite? (3 approaches) (Leetcode : 785)
Keys and Rooms (Leetcode : 841)
Critical Connections in a Network (Leetcode : 1192)
Number of Connected Components in an Undirected Graph (Leetcode : 323)
Minimum Knight Moves (Leetcode : 1197)
The Maze (DFS & BFS) (Leetcode : 490)
The Maze II (DFS & BFS) (Leetcode : 505)
Island Perimeter (3 approaches) (Leetcode : 463)
Swim in Rising Water (2 approaches) (Leetcode : 778)
All Paths from Source Lead to Destination (PREMIMUM) (Leetcode : 1059)
Redundant Connection (3 approaches) (Leetcode : 684)
Possible Bipartition (Leetcode : 886)
Sum of Distances in Tree (Leetcode : 834)
Minimum Time to Collect All Apples in a Tree (Leetcode : 1443)
Number of Nodes in the Sub-Tree With the Same Label (Leetcode : 1519)
Longest Path With Different Adjacent Characters (Leetcode : 2246)
Cheapest Flights Within K Stops (Leetcode : 787)
Dijkstra’s Algorithm(Priority Queue)
Dijkstra’s Algorithm(set)
Minimum Number of Vertices to Reach All Nodes (Leetcode : 1557)
Find Eventual Safe States (Leetcode : 802)
Maximal Network Rank (Leetcode : 1615)
Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree (Leetcode : 1489)
Reconstruct Itinerary (Leetcode : 332)
Shortest Path Visiting All Nodes (Leetcode : 847)
Bus Routes (Leetcode : 815)
Vertex Cover (GfG)
Maximum Total Importance of Roads (Leetcode-2285)
All Ancestors of a Node in a Directed Acyclic Graph (Leetcode-2192)
Find Champion II (Leetcode - 2924)
Maximum Employees to Be Invited to a Meeting (Leetcode - 2127)
Divide Nodes Into the Maximum Number of Groups (Leetcode - 2493)
Minimum Score After Removals on a Tree (Leetcode - 2322)
Minimum Operations to Equalize Binary String (Leetcode - 3666)