Search⌘ K
AI Features

Introduction to Searching

Explore the fundamentals of searching algorithms by understanding how linear and binary search techniques work. Learn when to use each method based on data ordering and see how searching applies to common real-world scenarios. Understand how to implement simple searches in Java to find values and their positions within data collections.

Imagine you are standing on Maple Street, looking for house number 47. You have two situations:

  • The houses are numbered randomly: 12,91,5,47,33,12, 91, 5, 47, 33, ...