Pergunta de entrevista da empresa Meta

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

Resposta da entrevista

Sigiloso

2 de fev. de 2024

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