Frage im Vorstellungsgespräch bei Bloomberg

Build Balanced BST from sorted array:

Antwort im Vorstellungsgespräch

Anonym

22. Juli 2020

Recursive function. Find median value, the left branch is every index to the left of median and right branch is every index to the right of the median time: n space: n