InterviewDigestInterviewDigest

OA Practice Workspace

OA2026-08-11

Linear search worst-case complexity

AI-Expanded — inferred from the question title, not from the original candidate report

Given an unsorted array of $n$ elements, explain the worst-case time complexity of a linear search algorithm in Big O notation. Describe the specific scenario that triggers this worst-case performance and justify why the number of operations scales linearly with the size of the input.

Context & Summary

A comprehensive technical and aptitude assessment covering diverse domains such as hardware architecture, software engineering principles, data science, and security.

💻 Coding practice works best on desktop.
Code editors are too cramped on mobile screens.