Sollicitatievraag bij Bloomberg

Build Balanced BST from sorted array:

Antwoord op sollicitatievraag

Anoniem

22 jul 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