Hacker News new | ask | show | jobs
by dreamcompiler 23 days ago
Of course this works and it's simple, but it's O[n] in the number of options. Perfect hashing is O[1].