Interview Question - Give a preorder/postorder array of BST, reconstruct BST
问题:给你一个BST的pre-order/post-orderarray,reconstruct出这个BSTpre-orderprivateintcounter_Pre=0;publicTreeNoderestoreBST_Pre(int[]nums){returnhelper_Pre(nums,Integer.MIN_VALUE,Integer.MAX_VALUE);}privateTreeNo