1718. Construct the Lexicographically Largest Valid Sequence - Medium | DSA Corner | Talentd