203k views
0 votes
Which algorithms have best time complexity?

1 Answer

6 votes

Answer:

We should say that the best algorithm would have time complexity of O(1) which is a constant. This means the run time of the algorithm is either independent of the data size or there is a constant such that the runtime is bounded above by a constant.

d

User Horkrine
by
7.6k points