KPMG Interview Question

Preorder traversal of binary tree