employer cover photo
employer logo

Sollicitatievraag bij VMware

* Construct a BST tree from sorted array.

Antwoord op sollicitatievraag

Anoniem

26 sep 2017

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