Driver code
public static void Main ( string [ ] args ) { Node root = new Node ( 20 ) ; root . left = new Node ( 8 ) ; root . right = new Node ( 22 ) ; root . left . left = new Node ( 5 ) ; root . left . right = new Node ( 3 ) ; root . right . left = new Node ( 4 ) ; root . right . right = new Node ( 25 ) ; root . left . right . left = new Node ( 10 ) ; root . left . right . right = new Node ( 14 ) ; Tree tree = new Tree ( root ) ; Console . WriteLine ( " Bottom ▁ view ▁ of ▁ the ▁ " + " given ▁ binary ▁ tree : " ) ; tree . bottomView ( ) ; } }