Amazon Interview Question
Software Engineer / DevelopersEven though this question is easy, it has a lot of edge cases. You should think twice when questions look simple.
Totally agree - the answer above doesn't cover corner cases at all - what about a string which has all whitespaces?
- xing August 02, 2007