int maxRepeating(string sequence, string word) { int n = sequence.length(), m = word.length(); vector count;