3302. Find the Lexicographically Smallest Valid Sequence - Medium | DSA Corner | Talentd