Reverse a string.
Anonymous
At first, I reversed the string with a temporary string. The interviewer explained that there may be resource constraints so he asked me to optimize it. Think about it...
Check out your Company Bowl for anonymous work chats.