Smallest String After Reversals

Company: Visa_17sep

Difficulty: easy