Convert Sorted Array to Binary Search Tree at Airbnb
Easy75.2% acceptance
This problem has 75.0% frequency at Airbnb.
Problem Description
Given an integer array `nums` where the elements are sorted in **ascending order** , convert _it to a_** _height-balanced_** _binary search tree_.
Read full problem and hintsTopics
Also asked at 9 companies
More Airbnb Questions
Text JustificationHardMaximum Profit in Job SchedulingHardPalindrome PairsHardTwo SumEasyMerge k Sorted ListsHard
View all Airbnb questions