Answer the question
In order to leave comments, you need to log in
How to store an incomplete binary expression tree in an array?
How to store an incomplete binary expression tree in an array? If stored in the same way as the full one, then gaps (unused cells) appear in the array. In this case, you will still need to somehow mark these cells that they are not used. What do you suggest? It's about C++.
Answer the question
In order to leave comments, you need to log in
Auxiliary structures such as lsm-tree are used to store transactions.
I also advise you to look at how things are going with cache oblivious b-tree.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question