Is there a good resource (book, link, website, application ...) that explains how to calculate the time complexity of the algorithm?
Because it’s hard to make things concrete in my mind. Sometimes it is an iteration with time complexity lg n; and then according to another loop it becomes n.lg n; and sometimes they use large omega designations to express it, sometimes large-o, etc.
These things are pretty abstract to me. So, I need a resource that has a good explanation and lots of examples to make me see what happens.
I hope I clearly explained my problem. I am quite sure that everyone who has just started to learn algorithms also have the same problem with me. Thus, it is possible that these experienced guys can also share their experience with us. Thanks...
source share