Embed presentation
Download to read offline

This document outlines a linear search algorithm to find an item in a list by checking each location in order until the item is found or all locations have been checked. The algorithm initializes an index variable to 1, sets a found variable to False, checks if the item is at the current index location, if found it outputs "found", if not found and all locations checked it outputs "not found", otherwise it increments the index and repeats the check.
