Convert Sorted Array to Binary Search Tree at Apple

Easy75.2% acceptance

This problem has 37.5% frequency at Apple.

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 hints

Topics

Also asked at 9 companies


More Apple Questions

View all Apple questions