Question d’entretien chez MulticoreWare

Island perimeter program question from the leetcode platform