Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.7k Views6.3k Upvotes
38 easy89 med27 hard
Answers in
Easy
1 questionMedium
5 questionsWhat is a trie and when is it useful?
DSA ยท 1.1k views ยท trie, strings
Views:1.1kLikes:14
Implement Trie for autocomplete โ how do you handle wildcards (.)?
DSA ยท 901 views ยท trie, string, Google
Views:901Likes:39
How do you find the maximum product subarray?
DSA ยท 500 views ยท dp, arrays
Views:500Likes:65
Merge k sorted lists: heap vs divide-and-conquer โ which is better for n=10k?
DSA ยท 283 views ยท heap, linked list, Google
Views:283Likes:7
Word Ladder: shortest transformation via BFS โ how do you build the wildcard graph?
DSA ยท 232 views ยท bfs, graph, Amazon
Views:232Likes:50
Hard
4 questionsSliding window median: how do you maintain median with two heaps as the window slides?
DSA ยท 1.2k views ยท heap, sliding window, Meta
Views:1.2kLikes:16
How do you design an LRU cache?
DSA ยท 1.2k views ยท lru, design
Views:1.2kLikes:9
How does Dijkstra's algorithm work?
DSA ยท 224 views ยท graphs, shortest-path
Views:224Likes:26
Design Twitter feed: how do you fan-out with heap + hash for timeline?
DSA ยท 134 views ยท system design, heap, Meta
Views:134Likes:25
Seen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question