Array
1733. Minimum Number of People to Teach
n languages; languages[i] = the languages user i knows; friendships = pairs. Two friends can communicate if they share a language. You may pick one language and teach it to any number of people;…
Loading…