Integrated Research Interview Question

Write a function to traverse a binary tree and print node values in order.