Question d’entretien chez Visa Inc.

Given a Binary tree print all the vertical lines elements