GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2025 set1

GATE 2025 set1 · CS · MSQ · 1 mark · Programming and Data Structures › Binary Search Trees

GATE 2025 set1 Computer Science and Information Technology question: Which of the following statement(s) is/are TRUE for any binary search tree (BST) having…

Which of the following statement(s) is/are TRUE for any binary search tree (BST) having distinct integers?

  1. (A)

    The maximum length of a path from the root node to any other node is .

  2. (B)

    An inorder traversal will always produce a sorted sequence of elements.

  3. (C)

    Finding an element takes time in the worst case.

  4. (D)

    Every BST is also a Min-Heap.

Show answer

Official answer: A,B

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion