Progressive Tree app for iPhone and iPad


4.6 ( 8016 ratings )
Utilities Entertainment
Free
Current version: 1.0, last update: 6 years ago
First release : 20 Mar 2018
App size: 5.45 Mb

Unlike regular hashing, it is completely deterministic. The worst case for Find, Add and Remove operations is O(log n). The best case is O(1). So, the worst case to Find / Add / Remove N objects is O(n log n), guaranteed. The Progressive Tree consists of internal nodes and leaf nodes. The leaf nodes hold the Dictionary values. The Progressive Tree has no empty(nil) nodes. The only exception is the top node (when the Progressive Tree is empty). Internal nodes always have two children. Each internal node holds an index bit which is an integer that represents the bit where its two children differ in their values