News for hackers. Stuff that matters.
Re:The Growing Divide Between Silicon Valley And Unemployed ... by jodrellblank on Saturday July 16, 2011 @08:14PM (#2772162)
You've said correct twice, but what do you mean by it? Do you give a spec they have to meet or a test set to compare against? Must they handle encodings/Unicode, or fail predictably in edge cases? Or are you talking about characters swapped, even/odd lengths/ empty strings, that's all?
Re:The Growing Divide Between Silicon Valley And Unemployed ... by rorrr on Saturday July 16, 2011 @11:28PM (#2772443)
Oh, we usually ask a very simple version - function to return a reversed string that's passed as a parameter. It consists of English letters, it's not blank. You're not allowed to use the standard string reverse function/method.

It never gets to edge cases. Most people can't even write the simple version.

I'm pretty sure nobody can write the unicode-safe version during the interview, even the smartest developers I've worked with (I guess that depends on the language though).