How do you balance a binary tree without using a self-balancing algorithm like the ones Red-Black Trees and AVL trees use?
Anonymous
The key is uniform distribution and random insertion. I need to ensure that field to be indexed in btree has high-cardinality and data not growth monotonically. For example: SKU (stock keeping unit) has high-cardinality and random growth, but timestamp only has high-cardinality.
Check out your Company Bowl for anonymous work chats.