Frage im Vorstellungsgespräch bei Meta

Implement a square root function. Question related to array data manipulation.

Antwort im Vorstellungsgespräch

Anonym

17. Dez. 2021

function mySqrt(x) { if(isNaN(x) || x x ){ right = mid; }else{ left = mid; } } return left; }