Meta Interview Question

Similar to the island counting question.