This is a preview. Log in through your library . Abstract This paper studies path lengths in random binary search trees under the random permutation model. It is known that the total path length, when ...
Both a sorted array and a binary tree can let you look up an element in log(N) time. However I would expect a sorted array to be faster in practice because of the constant factor. However inserting ...