Microsoft interview question

Test the string reversal function. Can you break it ?