This function mainly creates an unordered_map , then calls buildTree ( )
public static Node buldTreeWrap ( char [ ] in , char [ ] pre , int len ) { for ( int i = 0 ; i < len ; i ++ ) { mp . put ( in [ i ] , i ) ; } return buildTree ( in , pre , 0 , len - 1 ) ; }