Answer the question
In order to leave comments, you need to log in
Am I reinventing the wheel?
Answer the question
In order to leave comments, you need to log in
It is necessary to evaluate the complexity of adding / removing and searching for an element in such a tree.
Then compare with standard implementations (Binary, B-Tree, AVL, etc.) and then judge the applicability of this tree to tasks.
It may well turn out that in real use the complexity will be extremely high (taking the integer part is not such an easy task, it takes much longer than simply comparing 2 numbers).
Didn't meet. Have you come up with any use for this yet? The idea is beautiful
It seems to me that it is worth analyzing a specific use case (better 2 - successful and not very good). Then, using the example of solving a problem, it will already be possible to assess the complexity of using this solution and compare it with other options for solving the problem.
at the IPPM RAS, a whole institute is engaged in this. some things count very quickly. and if we add logarithmetic ... in general, this method is at least 50 years old
What is the purpose of this tree? Give a couple more examples for other numbers (for example, 7, 12, 14).
the idea is interesting, but not practical for a large amount of data.
For a large tree, you need to have a large list of primes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question