Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.7k Views6.3k Upvotes
38 easy89 med27 hard
Answers in
Medium
4 questionsMaximum subarray (Kadane) vs divide-and-conquer โ proof of correctness?
DSA ยท 907 views ยท dp, array, Amazon
Views:907Likes:74
Course Schedule: detect cycle with topological sort (Kahn vs DFS)?
DSA ยท 239 views ยท topo, graph, Amazon
Views:239Likes:47
Word Ladder: shortest transformation via BFS โ how do you build the wildcard graph?
DSA ยท 232 views ยท bfs, graph, Amazon
Views:232Likes: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 ยท 856 views ยท fenwick, binary indexed, Amazon
Views:856Likes:58
Design an LRU Cache with O(1) get and put โ why doubly linked list + hash map?
DSA ยท 450 views ยท lru, hash map, Amazon
Views:450Likes:30
Median of two sorted arrays in O(log(min(m,n))) โ how does the partition trick work?
DSA ยท 304 views ยท binary search, array, Amazon
Views:304Likes:43
Seen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question