Fit a worst-case search within a time budget

A device designer models each element-to-target equality comparison as taking exactly 3 microseconds. The model ignores all other costs. An unsuccessful linear search must finish within 1.2 milliseconds, including that limit. What is the maximum list length the model allows? Answer in elements, to zero decimal places.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Sequential Search Questions: