Counting elements in array 3sum with multiplicity Determine if two strings are close Find all anagrams in a string Intersection of two arrays ii Largest palindromic number Longest palindrome Minimum penalty for a shop