Top String Problems Leetcode 150 Solution