EduChat Interview Question

2 dimensional array island problem