Driver code
public static void Main ( string [ ] ars ) { int [ ] arr = new int [ ] { 4 , 2 , 5 , 1 , 3 , 6 } ; int [ ] pre = new int [ ] { 1 , 2 , 4 , 5 , 3 , 6 } ; int len = arr . Length ; GFG tree = new GFG ( ) ; tree . printPost ( arr , pre , 0 , len - 1 ) ; } }