GATE CS 2025, set 2 · Question 35 · Programming and Data Structures · Numerical answer (NAT) · 1 mark · no negative marks

Suppose the values 10, -4, 15, 30, 20, 5, 60, 19 are inserted in that order into an initially empty binary search tree. Let T be the resulting binary search tree. The number of edges in the path from the node containing 19 to the root node of T is ______. (Answer in integer)

Answer

Answer 4

Answer from the official GATE CS 2025 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes