Oracle interview question

Standard no. Of Islands problem first the logic then the code