you give string s integer repeatlimit construct new string repeatlimitedstre character s letter appear repeatlimit time row you use character sReturn lexicographically large repeatlimitedstre possibleA string lexicographically large string b position b differ string letter appear later alphabet corresponding letter b if minalength blength character differ long stre lexicographically large Example 1input s cczazcc repeatlimit 3output zzcccacexplanation we use character s construct repeatlimitedstre zzcccacthe letter appear 1 time rowthe letter c appear 3 time rowthe letter z appear 2 time rowhence letter appear repeatlimit time row string valid repeatlimitedstringthe string lexicographically large repeatlimitedstre possible return zzcccacnote string zzcccca lexicographically large letter c appear 3 time row valid repeatlimitedstringexample 2Input s aababab repeatlimit 2output bbabaaexplanation we use character s construct repeatlimitedstre bbabaa the letter appear 2 time rowthe letter b appear 2 time rowhence letter appear repeatlimit time row string valid repeatlimitedstringthe string lexicographically large repeatlimitedstre possible return bbabaanote string bbabaaa lexicographically large letter appear 2 time row valid repeatlimitedstre Constraints1 repeatlimit slength 105s consist lowercase english letter