Convert Sorted List to Binary Search Tree LeetCode Solution
Given the head of a singly linked list where elements are sorted in ascending order, convert it to a height-balanced binary search tree.
Given the head of a singly linked list where elements are sorted in ascending order, convert it to a height-balanced binary search tree.