Pregunta de entrevista de ByteDance

Coding exercise about island question using BSF