Amazon Interview Question

Print out all paths from root to leaves.