Question DSA-CX-0036
EasyWhat is meant by the worst-case time complexity of an algorithm?
- A.
The time on the smallest input
- B.
The average over random inputs
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Complexity Analysis question
What is meant by the worst-case time complexity of an algorithm?
The time on the smallest input
The average over random inputs
Sign up free to see the answer and a step-by-step explanation.
The time on a slow computer
The maximum time it takes over all inputs of size n