Bloomberg Interview Question

Implement a square root function

Interview Answers

Anonymous

Jun 29, 2012

Lots of options for this one, iteration, binary search, etc. This was the only question they asked me during the 3rd interview (besides some basic questions like why are you interested in bloomberg, etc.)

Anonymous

Dec 7, 2012

didn't get it. is the root guaranteed to be an integer?