|
|
|
|
|
by Zarel
3741 days ago
|
|
You don't represent primes, the primes are used to split the keys up and decide where in the tree it goes. e.g. to represent 31, you take 31%2=1, so you use child 1 of the root node. If the root node already has child 1, you take 31%3=1 and use child 1 of that node. And so on. |
|