Time Complexity of Algorithms:What do we use it for?
Knowing the time complexity of an algorithm allows us to predict how well the algorithm will perform as the size of the problem increases.
An algorithm takes 10 seconds to execute on a problem of size X. How long does it take on a problem of size Y?
More importantly, it allows us to compare different algorithms in terms of their time complexity.