Bug Report for https://neetcode.io/problems/lowest-common-ancestor-in-binary-search-tree
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
Needs input/test case validation for BST.
Example:
Input: [5,3,8,1,4,7,9,null,2,null,10,null]
Yields:

Which is not a valid BST.
Expected behavior:
Input is validated and prevents Run with invalid test cases.