Search
Question: Which of the following scenarios would benefit from using an AVL tree over a Red-Black tre..
Question: What is the average time complexity for insertion in a Red-Black tree?Options: O(n)O(log n..
Question: Which of the following is a real-world application of AVL trees?Options: Implementing a we..
Question: What is the primary purpose of an AVL tree?Options: To store data in a sorted mannerTo mai..
Question: Which of the following operations is NOT typically performed on a tree data structure?Opti..
Question: What is the worst-case time complexity for searching in a Red-Black tree?Options: O(n)O(lo..
Question: Which traversal method is used to retrieve nodes in sorted order from a binary search tree..
Question: What is the primary operation performed to maintain balance in an AVL tree after insertion..
Question: How do you perform a left rotation in an AVL tree?Options: By moving the right child up an..
Question: What is the primary reason for using AVL trees over regular binary search trees?Options: E..
Question: In a Red-Black Tree, what must be true about the path from any node to its descendant leav..
Question: Which of the following properties is true for a Red-Black Tree?Options: Every node is eith..
Question: Which of the following is true about AVL trees compared to Red-Black trees?Options: AVL tr..
Question: In a Red-Black tree, what happens when a red node is inserted?Options: It is always the ro..
Question: Which of the following operations is guaranteed to be O(log n) in both AVL and Red-Black t..
Question: In a Red-Black tree, what must be true about the children of a red node?Options: They must..
Question: Which rotation is performed when a node is inserted into the left subtree of the left chil..
Question: What happens to the balance factor of an AVL tree after an insertion?Options: It remains u..
Question: What is the time complexity of inserting an element in an AVL tree?Options: O(n)O(log n)O(..
Question: Which of the following operations is performed to maintain the balance of an AVL tree afte..
Question: Which of the following statements is true about AVL trees?Options: They are always complet..
Question: What is the time complexity of deleting a node from a Red-Black tree?Options: O(n)O(log n)..
Question: How many rotations are needed in the worst case when inserting a node in an AVL tree?Optio..
Question: The equation of state for an ideal gas is given by: (2022)Options: PV = nRTPV = NkTPV = mR..
Question: What happens to the volume of a material when it is subjected to uniform pressure? (2019)O..
Question: Which of the following describes the behavior of a ductile material? (2023)Options: It can..
Question: What is the shear modulus of a material if a shear stress of 100 MPa produces a shear stra..
Question: In a thin film of soap, which color appears at the center of the pattern due to destructiv..
Question: In a Michelson interferometer, what happens to the fringe pattern if one of the mirrors is..
Question: In a ray diagram for a concave lens, the rays parallel to the principal axis appear to div..