Question: If the time complexity of a program is O ( l o g n ) , we say that this program is faster than another

If the time complexity of a program is O(logn), we say that this program is
faster than another program with O(1) complexity.
faster than another program with O(n) complexity.
slower than another program with O(n2) complexity.
slower than another program with O(n) complexity.
If the time complexity of a program is O ( l o g

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!