Back to Question

Convert Sorted Array to Binary Search Tree

Question Explain

Given an integer array `nums` where the elements are sorted in ascending order, convert it to a height-balanced Binary Search Tree (BST).

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.