Bloomberg Interview Question

Number of islands and then encode decode binary tree