For many technical interviews in big companies, one question might be asked frequently, which is how to compute a number's square root. Based on my experience, Yahoo and Linkedin interviewers like it in the first phone screen. It looks so simple that many people would neglect some nature behind its appearance. In my blog, I will focus on the analysis part and spend some time on testing because I believe that people can not give perfect coding solution without solid analysis and sound testing cases. Let's get into it. Problem description Given you a number, compute its square root. Analysis 1) Before we start, we have to truly and totally understand what the meaning of the problem is. More importantly, in the interview process, we should know what method or technology the interviewers want us to show to them. So ask them conditions in the problem to clear ambiguities. In this case, what kind of number is as the input, integer or float? Is it a perfect square root problem?
Remarks of President Barack Obama Weekly Address The White House September 7, 2013 Video Almost three weeks ago in Syria, more than 1,000 innocent people – including hundreds of children – were murdered in the worst chemical weapons attack of the 21 st century. And the United States has presented a powerful case to the world that the Syrian government was responsible for this horrific attack on its own people. This was not only a direct attack on human dignity; it is a serious threat to our national security. There’s a reason governments representing 98 percent of the world’s people have agreed to ban the use of chemical weapons. Not only because they cause death and destruction in the most indiscriminate and inhumane way possible – but because they can also fall into the hands of terrorist groups who wish to do us harm. That’s why, last weekend, I announced that, as Commander in Chief, I decided that the United States should take military action against the Syrian