employer cover photo
employer logo

Domanda di colloquio di VMware

* Construct a BST tree from sorted array.

Risposta di colloquio

Anonimo

26 set 2017

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