Amazon interview question

Write code to convert a string to a double value.

Interview Answer

Anonymous

27 Jun 2012

The code had to be written in 20 minutes and should be very clean without missing any case like "0", "+1", "-1", etc

4