C3 AI Interview Question

Num of Islands leetcode problem