Skip to main content
Minimum Number of People to Teach
medium

Minimum Number of People to Teach

You're running a pen-pal club where two friends can write to each other only in a language they both speak. The club will fund one crash course in a language of your choosing, and you want the fewest seats that get every friendship writing. Interviewers love it because it rewards counting the right people, and the classic trap is tallying a member once for every stuck friendship they're in. You get up to 500 members, 500 languages and 500 friendships.

Arrays & HashingGreedy

Meet Coco

Coco is an AI study partner, not a person. She listens while you explain your code, asks what a line does and never hands you the fix.

1Minimum Number of People to Teachmedium
Based onLeetCode

Code this one on a laptop

Email yourself a link and open it there.