employer cover photo
employer logo

Question d’entretien chez VMware

* Construct a BST tree from sorted array.

Réponse à la question d'entretien

Utilisateur anonyme

26 sept. 2017

Find the middle element and make it root. Recursively call the function to make a left and right sub tree. O(N)