Answer to Question #304518 in C++ for ahmed

Question #304518

You wish to create a database of stars. For each star, the database will store several megabytes of data. Considering that your database will store billions of stars, choose the data structure that will provide the best performance. With this data structure you should be able to find, insert, and delete stars. Justify your choice. 


1
Expert's answer
2022-03-02T01:17:13-0500

The best choice is the self-balancing binary tree, cause all the above operations can realize for log(n) time.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog