Question DSA-SRCH-0036
EasyWhy is binary search a poor fit for a linked list?
- A.
Binary search needs strings
- B.
Reaching the middle node takes O(n) steps
- 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
Searching and Binary Search question
Why is binary search a poor fit for a linked list?
Binary search needs strings
Reaching the middle node takes O(n) steps
Sign up free to see the answer and a step-by-step explanation.
Linked lists can't be sorted
Linked lists have no middle