How to pair socks from a pile efficiently? · HackerTrans