Given an array where elements are sorted in ascending order, convert it to a height balanced BST.
Tree Depth-first SearchRuntime Error Message: | {[{ runtimeError }]} |
Last executed input: | {[{ lastExecutedTestCase }]} |
Input: | {[{ resultWaTestCaseInput }]} |
Output: | {[{ resultWaTestCaseOutput }]} |
Expected: | {[{ resultWaTestCaseExpected }]} |