Pergunta de entrevista da empresa Goldman Sachs

how to find square root of integer

Respostas da entrevista

Sigiloso

11 de nov. de 2015

double answer = java.Math.sqrt( ); You could use some other method. but that would be doing it wrong.

1

Sigiloso

30 de set. de 2013

Newton's Method: http://en.wikipedia.org/wiki/Newton's_method#Square_root_of_a_number

Sigiloso

19 de mai. de 2010

binary search

4