Searching Algorithms Fundamentals

Check understanding of search methods.

1. What is the worst-case time complexity of linear search?
2. Which condition is strictly required for binary search to work efficiently?
3. Which search algorithm is most efficient for finding an element in a sorted array with random access?
4. Which of the following are characteristics of linear search?
5. Which search algorithms require the input data to be sorted?
6. Binary search can be implemented iteratively or recursively.
7. In the best case, linear search has a time complexity of O(1).
8. What is the term for the value being looked up in a search algorithm?
9. Name the search algorithm that estimates the target's position using a formula based on the target value and dataset bounds (abbrev. allowed).
10. What is the worst-case time complexity of binary search (use big O notation)?
Answered 0 of 0 — 0 correct