Qualcomm Interview Question

Number of islands + Longest Consecutive Sequencee