If the array size is M, what will be the time complexity of the linear search algorithm? a. O(M log M) b. O(M) c. O(M^2) d. O(log M)
Added by Bethany S.
Step 1
** Show more…
Show all steps
Your feedback will help us improve your experience
Sanchit Jain and 68 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD