Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.4k 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 · 999 views · graphs, cycle
Views:999Likes:42
How do you check if a graph is bipartite?
DSA · 987 views · graphs, bfs, coloring
Views:987Likes:32
How do you count connected components in an undirected graph?
DSA · 717 views · graphs, union-find, dfs
Views:717Likes:46
When would you use BFS over Dijkstra for shortest paths?
DSA · 647 views · graphs, shortest-path
Views:647Likes:21
What is the difference between BFS and DFS?
DSA · 525 views · graphs, bfs, dfs
Views:525Likes:1
How do you clone a graph?
DSA · 257 views · graphs, hashing, bfs
Views:257Likes:27
Hard
5 questionsHow does the Floyd-Warshall algorithm work?
DSA · 897 views · dsa, graph, shortest-path
Views:897Likes:20
How does the Bellman-Ford algorithm work?
DSA · 844 views · graphs, shortest-path
Views:844Likes:63
How do you solve the word ladder problem?
DSA · 817 views · graphs, bfs
Views:817Likes:23
What is the difference between Kruskal's and Prim's MST algorithms?
DSA · 696 views · graphs, mst
Views:696Likes:8
How does Dijkstra's algorithm work?
DSA · 223 views · graphs, shortest-path
Views:223Likes:26
Seen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question