Leetcode 1061 Python3 Solution Lexicographically Smallest Equivalent

Leetcode 1061 Python3 Solution Lexicographically Smallest Equivalent