Pergunta de entrevista da empresa Commvault

How do you display the nodes of a binary tree in vertically aligned order