Algorithm interview question, linear search


SEE ALSO: Coding Interview Preparation

Linear search is one of the simplest search algorithms, but it's nevertheless useful. This document review linear search concepts, reviews when it's a good fit, and how to respond to linear search questions during the interview.

What's included in the purchase

PDF file with the following:

  • Intro to linear search algorithm
  • Why and when you should use linear search
  • How to optimize a linear search algorithm
  • Source code for a linear search


2 pages



About the author 

The author has over 15 years of experience as architect and engineering director for several Fortune 500 companies.  He loves programming interviews and writes frequently on the topic.  Here are some additional details about the author:

- Expert in C#, .NET, ASP.NET, XML, XSLT, enterprise JAVA and client side technologies

- Extensive experience in C, C++, VB.Net, ASP, UML, Design Patterns and SEO

- Proficient in major databases including Microsoft SQL Server and Oracle

- In-depth knowledge of cloud providers including Amazon AWS and Microsoft Azure

- Clear understanding of all 3 major mobile platforms – iOS, Android and Windows Phone

SEE ALSO: Coding Interview Preparation