check if array is post-order sequence of bst