Meta interview question

Write a function that takes a binary tree as input, and have it perform In order traversal - recursive and then iterative