Lexicographically Smallest Equivalent String
Implement `solve` for **Lexicographically Smallest Equivalent String**. Return the required output for the provided arguments.
Implement `solve` for **Lexicographically Smallest Equivalent String**. Return the required output for the provided arguments.