Amazon Interview Question: Second Interview: Write a fun... | Glassdoor

Interview Question

Software Development Engineer I Intern Interview

Second Interview: Write a function that takes a binary

  search tree and returns an array with the in-order permutation of the tree.

Interview Answer

1 Answer


do an inorder traversal of the tree storing the values along the way into a pre-allocated array

Interview Candidate on May 30, 2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.