3 ms·
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. Yo
by rorrr 15y ago
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).