Q11hardWhat is the primary advantage of an AVL Tree over a standard BST?AAVL trees use less memory.BAVL trees can have more than two children per node.CAVL trees guarantee O(log N) search time by preventing the tree from becoming skewed.DAVL trees are easier to implement.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q12hardAn expression tree represents (3 + 5) * 2. Which traversal will yield the correct **Postfix** notation 3 5 + 2 *?ALevel-orderBPre-orderCPost-orderDIn-orderCheck AnswerReveal Answer & ExplanationDiscuss on Board
Q13hardIn an AVL tree, if a node has a Left Subtree of height 3 and a Right Subtree of height 1, what Rotation is required to fix the balance?ARight Rotation (LL) or Double Rotation (LR)BDelete the nodeCNo rotation neededDLeft Rotation (RR)Check AnswerReveal Answer & ExplanationDiscuss on Board
Q14hardGiven a BST, which traversal method will visit the nodes in ascending sorted order?APre-orderBIn-orderCLevel-orderDPost-orderCheck AnswerReveal Answer & ExplanationDiscuss on Board
Q15easyWhat is the maximum number of nodes in a Perfect Binary Tree with a height of 4? (Assume root is at height 0).A16B32C15D31Check AnswerReveal Answer & ExplanationDiscuss on Board
Q16hardA database index uses a **B-Tree** instead of a simple BST. What is the main reason?AB-Trees are only for strings.BB-Trees are "fat and short" (multi-way), which minimizes expensive disk I/O operations compared to "tall" binary trees.CBSTs use more RAM.DBSTs don't work on disk drives.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q17easyWhat is a Threaded Binary Tree?AA tree that runs on multiple CPU threads.BA tree where each node has 3 children.CA tree used for network routing.DA tree where NULL pointers are replaced with links to the In-order Successor or Predecessor to allow faster traversal without recursion/stack.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q18hardWhat happens during a Left Rotation (RR) in an AVL tree?AThe height of the tree increases.BThe tree is deleted.CThe leaf nodes are swapped.DThe right child becomes the new root of the subtree, and the old root becomes its left child.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q19hardWhat is the primary characteristic that differentiates a Binary Search Tree (BST) from a regular Binary Tree?AA BST stores data in a circular fashion.BA BST cannot have more than 10 levels.CFor every node in a BST, all nodes in the left subtree are smaller and all nodes in the right subtree are larger.DA BST must be perfectly balanced.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q20hardWhat is the time complexity of Level-order traversal in a tree with N nodes?AO(1)BO(N²)CO(N)DO(log N)Check AnswerReveal Answer & ExplanationDiscuss on Board