Next Possible String in Dictionary Order

Company: flipkart_27feb

Difficulty: medium