Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bonzini
on April 13, 2023
|
parent
|
context
|
favorite
| on:
On a great interview question
I think the lookup would involve a string comparison if the hash matches, and that is also O(n). You should be able to construct a pathological example that ends up quadratic.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: