Computational Thinking

Table of Contents

Linear Search (sequential search)

How it works:

each element in list is checked one by one based on a condition until desired element is found

element found => location returned, algorithm stops

Performance:

Time complexity: