1061. Lexicographically Smallest Equivalent String - Solutions and Explanation | Vultr Docs