Path length of protected nodes in random binary search trees

Document Type : Full Length Article

Authors

‎Department of Statistics‎, ‎Faculty of Science‎, ‎Imam Khomeini International University‎, ‎Qazvin‎, I. R. ‎Iran

Abstract

A protected node is a node that is not a leaf and none of its children is a leaf, and also a weakly protected node is not a leaf and at least one of its children is not a leaf. Let Pn and Wn be the path length of the protected and weakly protected nodes in a random binary search tree (BST) of size n, respectively. In this paper, we derive the exact mean and variance of these random variables and show that
$$\frac{15 Pn}{11n\ln n}\to 1$$
and
$$\frac{15W_n}{14n\ln n}\to 1$$
in probability.

Graphical Abstract

Path length of protected nodes in random binary search trees

Keywords

Main Subjects


Volume 10, Issue 4
December 2025
Pages 321-332
  • Receive Date: 09 August 2025
  • Revise Date: 20 August 2025
  • Accept Date: 28 November 2025
  • First Publish Date: 28 November 2025
  • Publish Date: 01 December 2025