Code for finding if two trees are identical and get the binary tree given inorder and preorder traversals. Prove unique tree exists if given inorder and either of preorder and postorder. Time and space complexitites of the code written.
Software Development Intern Interview Questions
2,990 software development intern interview questions shared by candidates
Asked to divide the given array into three disjoint subsets of equal sum and to print the elements in each subset
I was asked 2 coding questions based on trees. One was zigzag traversal of a binary tree . It was followed by that of a n-ary tree.
What is the maximum possible num in an array manipulated such that
Some of the questions asked about Lists in Java, for loops, creating methods, etc.
Implement a queue using two stacks
Why amazon and questions based off of leadership principles
Leet code medium problem which required knowledge of trees
Behavioral questions related to Amazon's Leadership Principles.
What is your favorite data structure?
Viewing 821 - 830 interview questions