Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.4k 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 · 906 views · dp, array, Amazon
Views:906Likes:74
How do you search in a rotated sorted array?
DSA · 891 views · binary-search, arrays
Views:891Likes:12
How do you find the maximum subarray sum?
DSA · 819 views · kadane, dp
Views:819Likes:25
How do you count the number of set bits in an integer?
DSA · 725 views · bit-manipulation
Views:725Likes:48
Hard
4 questionsHow does the Floyd-Warshall algorithm work?
DSA · 897 views · dsa, graph, shortest-path
Views:897Likes:20
How do you compute the edit distance between two strings?
DSA · 610 views · dp, strings
Views:610Likes:65
Burst Balloons: why does DP over intervals (not balloons) work?
DSA · 580 views · dp, interval, Google
Views:580Likes:4
What is bitmask dynamic programming?
DSA · 384 views · dsa, dynamic-programming, bitmask
Views:384Likes:5
Seen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question