Intel Corporation interview question

Reverse a string.

Interview Answer

Anonymous

3 July 2013

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...