Help me in solving DSAC55 problem

My issue

Rearrange the following code
reverseString(“Hello!”) is called
“!olle” and “H” are combined
“!olleH” is returned as result
reverseString(“ello!”) is called
“!oll” and “e” are combined
reverseString(“llo!”) is called
“!ol” and “l” are combined
reverseString(“lo!”) is called
“!o” and “l” are combined
reverseString(“o!”) is called
“!” and “o” are combined
reverseString(“!”) is called
Base case is reached. “!” is returned as result

Learning course: BCS304: Data structures and Applications
Problem Link: Pop Quiz - String reversal Practice Problem in BCS304: Data structures and Applications - CodeChef