Convert Sorted Array to Binary Search Tree : Leetcode Solution.
Problem Statement
You are given an integer array nums where the elements are sorted in ascending order. Convert it into a height-balanced binary search tree. The problem can be found on LeetCode.
Intuition
The first thought is that a binary search t...
vishwanathts.hashnode.dev2 min read