Algorithm 2-6: Sock Pairing for Beginners
Start with a simple pair of socks, any color will do. Then, apply the following steps:
- Sort by color
- Sort by size
- Pairs the socks with their identical twins
And voilĂ ! You have a perfectly paired sock collection.
Take it to the next level with Sock Pairing Math