Amazon Interview Question

1. Number of islands 2. leetcode stack question