Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.4k Views6.3k Upvotes
38 easy89 med27 hard
Answers in
Medium
4 questionsMaximum subarray (Kadane) vs divide-and-conquer โ proof of correctness?
DSA ยท 906 views ยท dp, array, Amazon
Views:906Likes:74
Course Schedule: detect cycle with topological sort (Kahn vs DFS)?
DSA ยท 236 views ยท topo, graph, Amazon
Views:236Likes:47
Word Ladder: shortest transformation via BFS โ how do you build the wildcard graph?
DSA ยท 228 views ยท bfs, graph, Amazon
Views:228Likes:50
Find median from data stream with two heaps โ invariant and rebalancing?
DSA ยท 179 views ยท heap, design, Amazon
Views:179Likes:14
Hard
3 questionsCount of smaller numbers after self with Fenwick tree โ how to coordinate compress?
DSA ยท 855 views ยท fenwick, binary indexed, Amazon
Views:855Likes:58
Design an LRU Cache with O(1) get and put โ why doubly linked list + hash map?
DSA ยท 449 views ยท lru, hash map, Amazon
Views:449Likes:30
Median of two sorted arrays in O(log(min(m,n))) โ how does the partition trick work?
DSA ยท 303 views ยท binary search, array, Amazon
Views:303Likes:43
Seen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question