Amazon interview question

Write a function for in-order binary tree traversal.