Pregunta de entrevista de Microsoft

Case question about birds and islands