Examveda What is the time taken for a range query for a perfectly balanced tree? A. O(N)B. O(log N)C. O(√N+M)D. O(√N)Answer: Option C This Question Belongs to Data Structure >> Trees In Data Structures
What is the maximum number of children a node in a binary tree can have? A. 2B. 3C. 4D. Any number View Answer
In a binary tree, what is the term for the node with no children? A. RootB. LeafC. ParentD. Sibling View Answer
Which traversal method of a binary tree involves visiting the left subtree, then the root, and then the right subtree? A. InorderB. PreorderC. PostorderD. Level-order View Answer
Join The Discussion