Problems On Arrays And Strings Leetcode Python