About this document
Searching and Sorting Algorithms Guide by kent is a document available to read on EtoBox.
The document discusses searching and sorting algorithms. It describes linear search and binary search algorithms. Linear search sequentially searches through an array to find a target value, having O(n) time complexity. Binary search divides the search space in half at each step by comparing the target value to the middle element, having O(log n) time complexity. The document also provides code examples of linear search on an array of random integers.
- Author
- kent
- Language
- EN