Re:How to pair socks from a pile efficiently?
by yen223 on Tuesday April 29, 2014 @09:08AM
(#7666667)
Exactly. O(1) FTW!
[ Parent
| on HN ]
well considering that the number of socks is limited by the number of atoms in the universe, we can make pretty much any time-bound algorithm O(1)