Pregunta de entrevista de Meta

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

Respuesta de la entrevista

Anónimo

2 feb 2024

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