Home »
MCQs »
Data Structure and Algorithms (DSA) MCQs
What is the worst-case time complexity?
1. What is the worst-case time complexity?
- Minimum time required for program execution
- Average time required for program execution
- Maximum time required for program execution
- None of the above
Answer
The correct answer is: C) Maximum time required for program execution
Explanation
Time complexity of a program represents the time required for a program to run to completion. Worst case time complexity is the maximum time required for program execution.