Alien Dictionary
Given a sorted dictionary of alien language, find the order of characters in the alien alphabet
All Paths From Source to Target
Find all possible paths from source node to target node in a directed acyclic graph (DAG)
Articulation Points (Cut Vertices)
Find all articulation points in an undirected graph - vertices whose removal increases the number of connected components
Bellman-Ford Algorithm
Find shortest paths from a source vertex to all other vertices in a weighted graph, capable of handling negative edge weights
BFS Shortest Path in Unweighted Graph
Find shortest path between two vertices in an unweighted graph using BFS traversal
Breadth-First Search (BFS)
Implement breadth-first search traversal of a graph
Celebrity Problem
Find the celebrity in a party of n people using the minimum number of questions.
Clone Graph
Create a deep copy of an undirected graph represented with adjacency lists
Course Schedule
Determine if you can finish all courses given prerequisite relationships using topological sorting
Detect Cycle in Directed Graph
Determine if a directed graph contains a cycle
Detect Cycle in Undirected Graph
Determine if an undirected graph contains a cycle
Find Bridges in a Graph
Find all bridges (critical edges) in an undirected graph using Tarjan's algorithm
Floyd-Warshall Algorithm - All Pairs Shortest Path
Find shortest paths between all pairs of vertices in a weighted graph using dynamic programming
Is Graph Bipartite
Check if a graph can be colored with exactly two colors such that no two adjacent nodes have the same color
Minimum Spanning Tree
Find the minimum spanning tree of a weighted undirected graph using Kruskal's and Prim's algorithms
Minimum Swaps to Sort Array
Find the minimum number of swaps required to sort an array.
Network Delay Time (Dijkstra's Algorithm)
Find the time it takes for a signal to reach all nodes in a network using shortest path algorithms
Number of Islands
Count the number of islands in a 2D grid
Strongly Connected Components
Find all strongly connected components in a directed graph
Topological Sort
Find a linear ordering of vertices in a directed acyclic graph
Word Ladder
Find the shortest transformation sequence from beginWord to endWord using single character changes