Pergunta de entrevista da empresa Yahoo

How can you calculate the square root of any number without using Math.sqrt().

Resposta da entrevista

Sigiloso

26 de out. de 2018

Use binary search to split in half recursively, changing lower and upper bounds as appropriate

1