Searching and Sorting

Searching and Sorting
复制标题

搜索和排序

DOI:
10.1007/978-1-4842-3988-9_10
复制
发表时间:
2021
期刊:
Data Structure and Algorithms Using C++
影响因子:
--
通讯作者:
Sammie Bae
Sammie Bae
中科院分区:
--
文献类型:
--
作者:
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.