Lexicographic Removal Duel

Company: Amazon HackOn

Difficulty: medium