18 Searching and Sorting

Objectives

In this chapter you’ll:

  • Search for a given value in an array using the linear search and binary search algorithms.

  • Sort arrays using the selection and insertion sort algorithms.

  • Sort arrays using the recursive merge sort algorithm.

  • Determine the efficiency of searching and sorting algorithms in terms of Big O.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset