Google Interview Question
Software Engineer / DevelopersCountry: India
Interview Type: Written Test
It would really be silly to test such things, especially multiple questions. (Of course, I have never written a written test so ...)
Frankly, it seems very likely that this and your other question is homework.
And, why don't you post the other questions from the written test and help me shut my mouth?
Tiger (since it's a virtual method)
- Dennis November 03, 2012