← Goldman Sachs questions

Maximum socks to get N matching pairs

Filed under Goldman Sachs

Given A, B, and C socks of three different colors, calculate the minimum number of socks to draw to guarantee N matching pairs of any color.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.