Pergunta de entrevista da empresa Visa Inc.

Given a Binary tree print all the vertical lines elements