by rsofaer · 13y ago · 0 comments
How does time complexity fit into that?
The balanced binary tree search operation is an example of something whose cost grows very slowly even as the size of the tree grows rapidly.
There are algorithms that are hard the same way the O(log n) tree is easy: they grow exponentially with the size of input, so very small changes in the input size can drastically increase their cost.
Then if you write down what you think O signifies, you will be at least 3/4 to the answer instead of part way. Nobody can learn for you. Only you can put forth the effort required.
Cowboy up.