C++ Tutorial: Learn the Linear search algorithm for arrays and vectors

Опубликовано: 15 Октябрь 2024
на канале: Professor Hank Stalica
4,052
33

Let's discuss the simple algorithm for performing a linear search on an array for a value. I give a sample implementation using C++.

Also known as a sequential search.

A perfect C++ tutorial for beginners.

// Check out my complete C++ videos playlist:
   • Playlist  

// Consider supporting this channel in multiple ways
https://ko-fi.com/professorhank
https://paypal.me/hankstalica1
   / @professorhankstalica  
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
Dogecoin: DRK2HDp3ZkkbFpvGZnVgMVosnBhPv8r3uP