Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.7k Views6.3k Upvotes
38 easy89 med27 hard
Answers in
Easy
1 questionMedium
10 questionsWhat is topological sort and when is it used?
DSA · 1.2k views · graphs, topological-sort
Views:1.2kLikes:36
How do you solve the course schedule (prerequisites) problem?
DSA · 1.1k views · graphs, topological-sort
Views:1.1kLikes:17
How do you detect a cycle in a directed graph?
DSA · 1k views · graphs, cycle
Views:1kLikes:42
How do you check if a graph is bipartite?
DSA · 988 views · graphs, bfs, coloring
Views:988Likes:32
How do you count connected components in an undirected graph?
DSA · 719 views · graphs, union-find, dfs
Views:719Likes:46
When would you use BFS over Dijkstra for shortest paths?
DSA · 649 views · graphs, shortest-path
Views:649Likes:21
What is the difference between BFS and DFS?
DSA · 528 views · graphs, bfs, dfs
Views:528Likes:1
How do you clone a graph?
DSA · 258 views · graphs, hashing, bfs
Views:258Likes:27
Hard
5 questionsHow does the Floyd-Warshall algorithm work?
DSA · 900 views · dsa, graph, shortest-path
Views:900Likes:20
How does the Bellman-Ford algorithm work?
DSA · 846 views · graphs, shortest-path
Views:846Likes:63
How do you solve the word ladder problem?
DSA · 819 views · graphs, bfs
Views:819Likes:23
What is the difference between Kruskal's and Prim's MST algorithms?
DSA · 698 views · graphs, mst
Views:698Likes:8
How does Dijkstra's algorithm work?
DSA · 224 views · graphs, shortest-path
Views:224Likes:26
Seen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question