Sector file // dsa
DATA STRUCTURES & ALGORITHMSDECODED.
Algorithms & data structures
154 Questions95.4k Views6.3k Upvotes
38 easy89 med27 hard
Answers in
Easy
7 questionsWhat is the time complexity of common operations on arrays, hash maps, and balanced trees?
DSA ยท 753 views ยท complexity
Views:753Likes:57
What is a binary search tree (BST)?
DSA ยท 675 views ยท trees, bst
Views:675Likes:71
How do you check if a root-to-leaf path sums to a target?
DSA ยท 609 views ยท trees, recursion
Views:609Likes:77
How do you invert a binary tree?
DSA ยท 533 views ยท dsa, binary-tree, recursion
Views:533Likes:62
How do you check if a binary tree is symmetric?
DSA ยท 342 views ยท trees, recursion
Views:342Likes:30
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
9 questionsHow do you find the lowest common ancestor in a binary tree?
DSA ยท 1.1k views ยท trees, lca
Views:1.1kLikes:62
How do you check if a binary tree is balanced?
DSA ยท 1.1k views ยท trees, balanced
Views:1.1kLikes:70
How do you validate that a binary tree is a BST?
DSA ยท 844 views ยท trees, bst
Views:844Likes:71
How do you get the right-side view of a binary tree?
DSA ยท 791 views ยท trees, bfs
Views:791Likes:13
How do you compute the diameter of a binary tree?
DSA ยท 751 views ยท trees, recursion
Views:751Likes:32
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 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