Easy mathematics interview practice: Pair of Socks.
Explore this problem with a Quantercise subscription.