Meta Interview Question

Write a function that balances a BST given a root node.

Interview Answer

Anonymous

Feb 2, 2024

Using the binary search algorithm (but instead of searching, using the midpoint to set the root recursively)