Amazon Interview Question

number of islands construct binary tree from pre and inorder