Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.4k Views6.3k Upvotes
38 easy89 med27 hard
Answers in
Easy
4 questionsHow do you find the intersection node of two linked lists?
DSA ยท 877 views ยท linked-list, two-pointers
Views:877Likes:72
How do you merge two sorted linked lists?
DSA ยท 839 views ยท linked-list
Views:839Likes:75
What is a stable sorting algorithm?
DSA ยท 485 views ยท stability, sorting
Views:485Likes:44
How do you merge two sorted arrays?
DSA ยท 317 views ยท sorting, merge
Views:317Likes:63
Medium
5 questionsHow do you merge overlapping intervals?
DSA ยท 586 views ยท intervals, sorting
Views:586Likes:24
How do merge sort and quicksort work?
DSA ยท 323 views ยท dsa, sorting, divide-and-conquer
Views:323Likes:52
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
Compare common sorting algorithms.
DSA ยท 219 views ยท sorting
Views:219Likes:50
What is the Union-Find (Disjoint Set) data structure?
DSA ยท 119 views ยท union-find
Views:119Likes:15
Hard
5 questionsHow do you merge k sorted lists?
DSA ยท 1.1k views ยท heap, linked-list
Views:1.1kLikes:34
Count of smaller numbers after self with Fenwick tree โ how to coordinate compress?
DSA ยท 855 views ยท fenwick, binary indexed, Amazon
Views:855Likes:58
What is a segment tree and when do you need one?
DSA ยท 631 views ยท dsa, segment-tree, range-query
Views:631Likes:29
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
Design Twitter feed: how do you fan-out with heap + hash for timeline?
DSA ยท 133 views ยท system design, heap, Meta
Views:133Likes:25
Seen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question