pub fn average_path_length(n: usize) -> f64
Expected path length of a random BST with n nodes.
n
Formula: c(n) = 2 H(n-1) - 2(n-1)/n where H is the harmonic number.