Question DSA-SRCH-0029
EasyIn sentinel linear search, where is the sentinel (a copy of the key) placed?
- A.
In the middle
- B.
At the end of the array
- 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
In sentinel linear search, where is the sentinel (a copy of the key) placed?
In the middle
At the end of the array
Sign up free to see the answer and a step-by-step explanation.
At the start
In a separate array