Update replace_linear_by_hashing.md

This commit is contained in:
Yudong Jin 2024-12-04 18:01:57 +08:00 committed by GitHub
parent 3e40c1153d
commit b471dda18c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
# Hash optimization strategies
In algorithm problems, **we often reduce an algorithm's time complexity by replacing a linear search with a hash-based search**. Let's use an algorithm problem to deepen the understanding.
In algorithm problems, **we often reduce the time complexity of an algorithm by replacing a linear search with a hash-based search**. Let's use an algorithm problem to deepen the understanding.
!!! question