Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.7k 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 ยท 676 views ยท trees, bst
Views:676Likes: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 ยท 143 views ยท traversal, trees
Views:143Likes:39
How do you find the maximum depth of a binary tree?
DSA ยท 90 views ยท trees, recursion
Views:90Likes:37
Medium
7 questionsHow do you check if a graph is bipartite?
DSA ยท 988 views ยท graphs, bfs, coloring
Views:988Likes: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 ยท 719 views ยท graphs, union-find, dfs
Views:719Likes:46
How do you find the kth smallest element in a BST?
DSA ยท 701 views ยท trees, bst, inorder
Views:701Likes: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 ยท 258 views ยท graphs, hashing, bfs
Views:258Likes:27
How do you build a binary tree from preorder and inorder traversals?
DSA ยท 181 views ยท trees, construction
Views:181Likes:28
Hard
1 questionSeen a Data Structures & Algorithms question that is not here? Add it and help the next candidate.
Share a question