Construct the Lexicographically Largest Valid Sequence - DSA Problem | Talentd