Size Balanced Tree
Chen Qifeng (Farmer John)
Zhongshan Memorial Middle School, Guangdong, China
Email:344368722@QQ.com
December 29, 2006
Abstract
This paper presents a unique strategy for maintaining balance in
dynamically changing Binary Search Trees that has optimal expected behavior at
worst. Size Balanced Tree is, as the name suggests, a Binary Search Tree (abbr.
BST) kept balanced by size. It is simple, efficient and versatile in every aspect. It
is very easy to implement and has a straightforward description and a
surprisingly simple proof of correctness and runtime. Its runtime matches that of
the fastest BST known so far. Furthermore, it works much faster than many
other famous BSTs due to the tendency of a perfect BST in practice. It supports
not only typical primary operations but also Select and Rank.
Key Words And Phrases
Size Balanced Tree
SBT
Maintain
This paper is dedicated to the memory of Heavens.