Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.7k Views6.3k Upvotes
38 easy89 med27 hard
Answers in
Easy
2 questionsMedium
21 questionsWhat is topological sort and when is it used?
DSA · 1.2k views · graphs, topological-sort
Views:1.2kLikes:36
What is dynamic programming?
DSA · 1.2k views · dynamic-programming
Views:1.2kLikes:4
How do you solve the 0/1 knapsack problem?
DSA · 1.1k views · dp, knapsack
Views:1.1kLikes:30
How do you solve the Combination Sum problem?
DSA · 907 views · dsa, backtracking
Views:907Likes:27
Maximum subarray (Kadane) vs divide-and-conquer — proof of correctness?
DSA · 907 views · dp, array, Amazon
Views:907Likes:74
How do you search in a rotated sorted array?
DSA · 893 views · binary-search, arrays
Views:893Likes:12
How do you find the maximum subarray sum?
DSA · 823 views · kadane, dp
Views:823Likes:25
How do you count the number of set bits in an integer?
DSA · 728 views · bit-manipulation
Views:728Likes:48
Hard
4 questionsHow does the Floyd-Warshall algorithm work?
DSA · 900 views · dsa, graph, shortest-path
Views:900Likes:20
How do you compute the edit distance between two strings?
DSA · 612 views · dp, strings
Views:612Likes:65
Burst Balloons: why does DP over intervals (not balloons) work?
DSA · 581 views · dp, interval, Google
Views:581Likes:4
What is bitmask dynamic programming?
DSA · 386 views · dsa, dynamic-programming, bitmask
Views:386Likes:5
Seen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question