Amazon Interview Question

BFS and inorder, preorder, postorder traversal