Miro Interview Question

Count Island problem hackerrank hard category