Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.7k Views6.3k Upvotes
38 easy89 med27 hard
Answers in
Easy
12 questionsHow do you reverse a linked list?
DSA · 1.2k views · linked-list
Views:1.2kLikes:39
How do you solve the climbing stairs problem?
DSA · 1.1k views · dp, climbing-stairs
Views:1.1kLikes:5
What is the difference between an array and a linked list?
DSA · 1.1k views · arrays, linked-list
Views:1.1kLikes:51
What is a graph, and how do you represent it?
DSA · 923 views · dsa, graph, adjacency-list
Views:923Likes:60
What is Big-O notation?
DSA · 893 views · complexity, big-o
Views:893Likes:73
How do you find the intersection node of two linked lists?
DSA · 878 views · linked-list, two-pointers
Views:878Likes:72
How do you find the missing number in 0..n?
DSA · 873 views · arrays, math
Views:873Likes:60
What is space complexity, and how much stack space does recursion use?
DSA · 741 views · dsa, complexity, recursion
Views:741Likes:59
Medium
16 questionsWhat is dynamic programming?
DSA · 1.2k views · dynamic-programming
Views:1.2kLikes:4
What is a trie and when is it useful?
DSA · 1.1k views · trie, strings
Views:1.1kLikes:14
Find the kth largest element in an array
DSA · Amazon · 810 views · dsa, heap, arrays
Views:810Likes:268
How do you find the node where a linked list cycle begins?
DSA · 611 views · linked-list, cycle
Views:611Likes:60
What is the difference between BFS and DFS?
DSA · 528 views · graphs, bfs, dfs
Views:528Likes:1
How do you solve the word break problem?
DSA · 479 views · dp, strings
Views:479Likes:61
How do you detect a cycle in a linked list?
DSA · 476 views · linked-list, pointers
Views:476Likes:62
Number of islands with DFS vs BFS vs Union-Find — trade-offs?
DSA · 416 views · dfs, bfs, Meta
Views:416Likes:25
Hard
3 questionsSeen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question