Cisco Interview Question

Implementation of Linear Search Algorithm: