Convert Sorted Array to Binary Search Tree at Apple

Easy75.2% acceptance

This problem has 34.7% 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 8 companies


More Apple Questions

View all Apple questions