Lexicographically Smallest String After Reversal

Company: Autodesk_14oct

Difficulty: medium