mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-23 16:47:13 +00:00
deploy
This commit is contained in:
@@ -3638,7 +3638,7 @@
|
||||
<p>Adaptive search algorithms are often referred to as search algorithms, <strong>mainly used for quickly retrieving target elements in specific data structures</strong>.</p>
|
||||
</div>
|
||||
<h2 id="1053-choosing-a-search-method">10.5.3 Choosing a search method<a class="headerlink" href="#1053-choosing-a-search-method" title="Permanent link">¶</a></h2>
|
||||
<p>Given a set of data of size <span class="arithmatex">\(n\)</span>, we can use linear search, binary search, tree search, hash search, and other methods to search for the target element from it. The working principles of these methods are shown in the following figure.</p>
|
||||
<p>Given a set of data of size <span class="arithmatex">\(n\)</span>, we can use linear search, binary search, tree search, hash search, and other methods to search for the target element from it. The working principles of these methods are shown in Figure 10-11.</p>
|
||||
<p><a class="glightbox" href="../searching_algorithm_revisited.assets/searching_algorithms.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="Various search strategies" class="animation-figure" src="../searching_algorithm_revisited.assets/searching_algorithms.png" /></a></p>
|
||||
<p align="center"> Figure 10-11 Various search strategies </p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user