It says I failed at this test case:
[1,null,0,0,1,1,0]
But I don't think this is a BST input.
Can you please help to check this?