How to efficiently match socks | Hacker News Reader