Leetcode Unique Element In Python Whats First To Or From In A Letter