109 Convert Sorted List to Binary Search Tree
1. Question
Given the sorted linked list: [-10,-3,0,5,9],
One possible answer is: [0,-3,9,-10,null,5], which represents the following height balanced BST:
0
/ \
-3 9
/ /
-10 52. Implementation
3. Time & Space Complexity
Last updated