There are N students. Some of them are friends, while some are not. Their friendship is transitive. If student A is a direct friend of student B, and student B is a direct friend of student C, student…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.