Meta Interview Question

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

Interview Answer

Anonymous

Dec 17, 2021

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