Question

An algorithm with a time complexity of O(log
n) means that its execution time:

A Grows linearly with the input size.
B Grows quadratically with the input size.
C Grows logarithmically with the input size, becoming very efficient for large inputs.
D Is constant, regardless of the input size.
E Is dependent on the square of the input size.
Practice Next

Hey! Ask a query