Question DSA-CX-0027
EasyWhat is the best-case time complexity of linear search?
- A.
O(n)
- B.
O(n²)
- 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 the best-case time complexity of linear search?
O(n)
O(n²)
Sign up free to see the answer and a step-by-step explanation.
O(1)
O(log n)