Question d’entretien chez Groupon

1) Implement sqrt function without using any math lib 2) Find the non-repeat number in an array

Réponse à la question d'entretien

Utilisateur anonyme

5 août 2016

private static Double findSquareRoot(int i) { double t; double squareRoot =i/2; do{ t= squareRoot; squareRoot = (squareRoot+i/squareRoot)/2; }while(squareRoot -t !=0); return squareRoot; }

Question d'entrevue chez Groupon: 1) Implement sqrt function without using any math lib 2) Find the non-repeat number in an array | Glassdoor