Cover image for Meta
Logo
See All Photos

Meta

Engaged Employer

Meta

Add an Interview

Interview Question

Front End Engineer Interview

-

Meta

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

Interview Answer

1 Answer

0

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

Rishabh Mishra on

Add Answers or Comments

To comment on this, Sign In or Sign Up.

Meta Careers

Cover image for Meta

Build for the future with Meta. Meta is building for the future by developing innovative ways to build community and bring people closer...More

  • What We Build
  • Our Actions
  • Our Community
This is the employer's chance to tell you why you should work for them. The information provided is from their perspective.