Driver code
static public void Main ( ) { char [ ] In = { ' D ' , ' B ' , ' E ' , ' A ' , ' F ' , ' C ' } ; char [ ] pre = { ' A ' , ' B ' , ' D ' , ' E ' , ' C ' , ' F ' } ; int len = In . Length ; Tree . root = buldTreeWrap ( In , pre , len ) ;