LC: 255. Verify Preorder Sequence in Binary Search Tree
https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree/
Input: preorder = [5,2,1,3,6]
Output: trueInput: preorder = [5,2,6,1,3]
Output: falseLast updated
https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree/
Input: preorder = [5,2,1,3,6]
Output: trueInput: preorder = [5,2,6,1,3]
Output: falseLast updated
class Solution {
public boolean verifyPreorder(int[] preorder) {
}
}