Maybank interview question

Algorithm question - Reverse a string