Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.4k 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 · 921 views · dsa, graph, adjacency-list
Views:921Likes: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 · 877 views · linked-list, two-pointers
Views:877Likes:72
How do you find the missing number in 0..n?
DSA · 871 views · arrays, math
Views:871Likes:60
What is space complexity, and how much stack space does recursion use?
DSA · 738 views · dsa, complexity, recursion
Views:738Likes: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 · 808 views · dsa, heap, arrays
Views:808Likes:268
How do you find the node where a linked list cycle begins?
DSA · 607 views · linked-list, cycle
Views:607Likes:60
What is the difference between BFS and DFS?
DSA · 525 views · graphs, bfs, dfs
Views:525Likes:1
How do you solve the word break problem?
DSA · 476 views · dp, strings
Views:476Likes:61
How do you detect a cycle in a linked list?
DSA · 474 views · linked-list, pointers
Views:474Likes:62
Number of islands with DFS vs BFS vs Union-Find — trade-offs?
DSA · 415 views · dfs, bfs, Meta
Views:415Likes:25
Hard
3 questionsSeen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question