Z function Find the Index of the First Occurrence in a String Minimum Insertion Steps to Make a String Palindrome 2. Valid Anagram Count and Say Compare Version Numbers