Arrange the following algorithms in increasing order of their complexities.
A. Linear time algorithms
B. Quadratic time algorithms
C. Constant time algorithms
D. Cubic time algorithms
Arrange the following algorithms in increasing order of their complexities.
A. Linear time algorithms
B. Quadratic time algorithms
C. Constant time algorithms
D. Cubic time algorithms
Solution
✅ Correct Option: 4
Running time grows faster as the power of increases, so the order is .
C. Constant time algorithms: , time does not depend on input size
A. Linear time algorithms:
B. Quadratic time algorithms:
D. Cubic time algorithms:
Related questions:
2026: 19 May Shift 1
2025: 27 May Shift 2
2026: 23 May Shift 1