Turning Learners Into Developers
Codekilla
CODEKILLA
back to course
Lesson 26 / 14917%
Arrays8/11

Searching in Arrays — Linear Search

O(n) sequential scan — the simplest find.

// linear search · scan left → right · stop on match · O(n)target = 87i=03i=19i=21i=38i=44i=52i=6Click a step to walk the cursor through the array.
Visual explanation diagram · click steps to walk through it

This lesson is Pro only.

Unlock every premium lesson and module — Pro from ₹299 / month (or ₹999 / year, saves ~₹2,589).

Sign in to unlock
// feedback.matters()
Did this lesson help you?