Intel Corporation Interview Question

Reverse a string.

Interview Answer

Anonymous

Jul 3, 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...