Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hnriot
on April 25, 2013
|
parent
|
context
|
favorite
| on:
An Interview Question Too Many Developers Get Wron...
* cardinality of the array. Maybe there are a million entires, but only 3 distinct values. keeping an unsorted set of distinct values might, in this case, be a much better solution that a sorted index. No mention was made of data cardinality.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: