employer cover photo
employer logo

Pergunta de entrevista da empresa VMware

* Construct a BST tree from sorted array.

Resposta da entrevista

Sigiloso

26 de set. de 2017

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