BST Expected depth

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Sep 21 7:32
Editor
Edited
Edited
2023 Oct 26 5:44
Refs
Refs

The depth of a node is the number of comparisons made during tree-insert.

Average node depth is based on
Quick Sort
analysis. But average node depth does not means expected height (because max node depth is tree height) so we need to prove it.
 

Height of a random binary search tree

prove process outline with
Jensen’s Inequality
notion image
notion image
notion image
sum is always large than max when they are positive numbers
notion image
and guess
notion image
is convex function
notion image
 
 
 
 
 
 
 
 

Recommendations