Pergunta de entrevista da empresa Tarana Wireless

Python function to print the depth-first traversal of a tree?