Based on the times you recorded, what is the Big-Oh of insert for each of these six implementations of sets?
std::set
std::unordered_set
VectorSet
BST
AVL
HashSet
or for random
Are these Big-Ohs what you expected them to be? Why or why not? Be sure to explore any surprises that you see in the data. You should compare the Big-Ohs to the theoretical Big-Ohs that you have learned about (in class, through quizzes, etc.). Are the implementations you created as efficient as they should be? If not, can you explain why?
Overall, the Big-Ohs seem to be pretty close to expected. My implementations of VectorSet and BST seem to be pretty slow, as I got two TSTTs for each. I am not sure why they are quite slow. The other implementations are quite zippy and match pretty well with what is expected.
How did the results change based on ordered data verses random data? Make sure you can explain the similarities and differences.
The only one that had a significant difference was the BST, which had a significant speed up with random data.