News for hackers. Stuff that matters.
Re:Google Interview University – Plan for studying to become... by rand_r on Thursday October 06, 2016 @10:49AM (#12652907)
If they're not unique, it will have to linearly search through items with duplicate keys. This situation will begin to approach O(n) time, which isn't good.
Re:Google Interview University – Plan for studying to become... by krona on Thursday October 06, 2016 @11:07AM (#12653101)
Unless you're using an Open addressing scheme like cookoo which ensures constant lookup time in the worst case