Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.4k Views6.3k Upvotes
38 easy89 med27 hard
Answers in
Easy
5 questionsWhat is the difference between an array and a linked list?
DSA ยท 1.1k views ยท arrays, linked-list
Views:1.1kLikes:51
What is a binary search tree (BST)?
DSA ยท 675 views ยท trees, bst
Views:675Likes:71
How do you invert a binary tree?
DSA ยท 533 views ยท dsa, binary-tree, recursion
Views:533Likes:62
What are the tree traversal methods?
DSA ยท 142 views ยท traversal, trees
Views:142Likes:39
How do you find the maximum depth of a binary tree?
DSA ยท 89 views ยท trees, recursion
Views:89Likes:37
Medium
7 questionsHow do you check if a graph is bipartite?
DSA ยท 987 views ยท graphs, bfs, coloring
Views:987Likes:32
How do you get the right-side view of a binary tree?
DSA ยท 791 views ยท trees, bfs
Views:791Likes:13
How do you count connected components in an undirected graph?
DSA ยท 717 views ยท graphs, union-find, dfs
Views:717Likes:46
How do you find the kth smallest element in a BST?
DSA ยท 700 views ยท trees, bst, inorder
Views:700Likes:24
How do you do a level-order (BFS) traversal of a tree?
DSA ยท 643 views ยท trees, bfs
Views:643Likes:12
How do you clone a graph?
DSA ยท 257 views ยท graphs, hashing, bfs
Views:257Likes:27
How do you build a binary tree from preorder and inorder traversals?
DSA ยท 179 views ยท trees, construction
Views:179Likes:28
Hard
1 questionSeen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question