mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 04:06:28 +08:00
Update searching_algorithm_revisited.md
fix typo in original commit
This commit is contained in:
parent
a430cc2607
commit
5ec15c4a3e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ However, **using these algorithms often requires data preprocessing**. For examp
|
||||||
|
|
||||||
## Choosing a search method
|
## Choosing a search method
|
||||||
|
|
||||||
Given a set of data of size $n$, we can use a linear search, binary search, tree search, hash search, or other method to retrieve the target element. The working principles of these methods are shown in the figure below.
|
Given a set of data of size $n$, we can use a linear search, binary search, tree search, hash search, or other methods to retrieve the target element. The working principles of these methods are shown in the figure below.
|
||||||
|
|
||||||
![Various search strategies](searching_algorithm_revisited.assets/searching_algorithms.png)
|
![Various search strategies](searching_algorithm_revisited.assets/searching_algorithms.png)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue