Leetcode 2351. First Letter to Appear Twice | Hello Interview