Searching and Sorting

  • Sammie Bae


Searching data and sorting through data are fundamental algorithms. Searching refers to iterating over the data structure’s elements to retrieve some data. Sorting refers to putting the data structure’s elements in order. The searching and sorting algorithms are different for every data structure. This chapter focuses on searching and sorting for arrays. By the end of this chapter, you will understand how to use common sorting and searching algorithms for arrays.

Copyright information

© Sammie Bae 2019

Authors and Affiliations

  • Sammie Bae
    • 1
  1. 1.HamiltonCanada

Personalised recommendations