Visa Inc. Interview Question

Given a Binary tree print all the vertical lines elements