Minted interview question

Different ways to do string reversal