Optimal Binary Search Trees with Near Minimal Height

Computer Science – Data Structures and Algorithms

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

Suppose we have n keys, n access probabilities for the keys, and n+1 access probabilities for the gaps between the keys. Let h_min(n) be the minimal height of a binary search tree for n keys. We consider the problem to construct an optimal binary search tree with near minimal height, i.e.\ with height h <= h_min(n) + Delta for some fixed Delta. It is shown, that for any fixed Delta optimal binary search trees with near minimal height can be constructed in time O(n^2). This is as fast as in the unrestricted case. So far, the best known algorithms for the construction of height-restricted optimal binary search trees have running time O(L n^2), whereby L is the maximal permitted height. Compared to these algorithms our algorithm is at least faster by a factor of log n, because L is lower bounded by log n.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Optimal Binary Search Trees with Near Minimal Height does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Optimal Binary Search Trees with Near Minimal Height, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Optimal Binary Search Trees with Near Minimal Height will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-453794

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.