give string b return minimum number time repeat string string b substring if impossible b substre repeat return 1notice string abc repeat 0 time repeat 1 time abc repeat 2 time abcabc Example 1input abcd b cdabcdabOutput 3explanation we return 3 repeat time abcdabcdabcd b substre itExample 2input b aaoutput 2 Constraints1 alength blength 104a b consist lowercase english letter