Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.4k Views6.3k Upvotes
38 easy89 med27 hard
Answers in
Medium
4 questionsImplement Trie for autocomplete — how do you handle wildcards (.)?
DSA · 899 views · trie, string, Google
Views:899Likes:39
Decode ways DP: how do you handle 0 and 06 edge cases?
DSA · 612 views · dp, string, Google
Views:612Likes:41
Merge k sorted lists: heap vs divide-and-conquer — which is better for n=10k?
DSA · 281 views · heap, linked list, Google
Views:281Likes:7
How do you find the Kth largest element — heap vs quickselect, and when to choose which?
DSA · 153 views · heap, quickselect, Google
Views:153Likes:79
Hard
3 questionsLongest increasing path in matrix — why DFS + memo beats brute force?
DSA · 774 views · dfs, memo, Google
Views:774Likes:36
Alien Dictionary: given sorted words in an alien language, how do you derive the character order?
DSA · 739 views · topological sort, graph, Google
Views:739Likes:31
Burst Balloons: why does DP over intervals (not balloons) work?
DSA · 580 views · dp, interval, Google
Views:580Likes:4
Seen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question