Check if socks are given in pairs
Filed under Thoughtworks
The question
Determine if socks represented by characters (e.g., R, B, G) are given in valid pairs.
No write-up yet. Related questions below have one.
Related Thoughtworks questions
Collected from public candidate posts and coding forums. Updated Nov 2026.