Audible interview question

Leet code problem - Number of Islands