GATE Assistant

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

GATE 2025 set2 · CS · NAT · 1 mark · Programming and Data Structures › Binary Search Trees

GATE 2025 set2 Computer Science and Information Technology question: Suppose the values 10, -4, 15, 30, 20, 5, 60, 19 are inserted in that order into an…

Suppose the values are inserted in that order into an initially empty binary search tree. Let be the resulting binary search tree. The number of edges in the path from the node containing 19 to the root node of is ___________. (Answer in integer)

Show answer

Official answer: 4

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion