Search Algorithms

Linear Search
Sequential element checking in a list until the desired element is found or the end is reached.

Binary Search
Fast searching by repeatedly dividing the search space in half.

Ternary Search
Improved binary search that divides the array into three parts for efficient searching.
Sort Algorithms

Bubble Sort
Simple sorting by repeatedly stepping through the list, comparing and swapping adjacent elements.

Quick Sort
Efficient sorting by dividing the input array into smaller sub-arrays and recursively sorting them.

Insertion Sort
Simple sorting that builds the final sorted array one item at a time.