Azienda coinvolta
Compute square root of a integer, without using the built-in sqrt method.
Anonimo
Use binary search
Either the sqrt method as suggested, with special handling of numbers less than 1, or use exp(0.5 * log(x))
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.