Question d’entretien chez Microsoft

implement sqrt

Réponses aux questions d'entretien

Utilisateur anonyme

18 oct. 2012

not hard though

Utilisateur anonyme

5 nov. 2012

sqrt is usually implemented with newton's method (http://mathworld.wolfram.com/NewtonsIteration.html) but one who didn't know this in the first place could have come up with a brute-n-try solution, maybe with a binary search to speed things up