1. Introduction to Searching

1.1 What is Searching?

Searching is the process of finding a particular element or checking if an element exists in a data structure (array, linked list, tree, etc.).

Real-World Analogies:

Types of Searching:

  1. Linear Search - Sequential search through elements
  2. Binary Search - Divide and conquer approach (requires sorted data)
  3. Jump Search - Jumping ahead by fixed steps
  4. Interpolation Search - Improved binary search for uniformly distributed data
  5. Exponential Search - Finding range then binary search

Note: There's actually a lot more searching algorithms, but we'll focus on the most common ones.

Importance:

Performance Metrics:


Revision #2
Created 2025-11-03 01:56:29 UTC by DS
Updated 2025-11-06 03:37:39 UTC by DS