How to check an algorithm's time complexity?
Usually we check the worst case time complexity.
Time measured here is against the number of machine-level instructions rather than actual time (seconds)
Usually we check the worst case time complexity.
Time measured here is against the number of machine-level instructions rather than actual time (seconds)