Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aidenn0
on Oct 4, 2012
|
parent
|
context
|
favorite
| on:
Myths about Hash Tables
Well in that case the cost of a hash-function is also not O(1) since the minimum length of a n distinct keys is log(n).
Really both a trie and a hash-function boil down to O(m) where m is the length of the key.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Really both a trie and a hash-function boil down to O(m) where m is the length of the key.