You are viewing a single comment's thread. Return to all comments →
It was not mentioned in the question but your solution doesn't work if n is less than s.length()
Seems like cookies are disabled on this browser, please enable them to open this website
Repeated String
You are viewing a single comment's thread. Return to all comments →
It was not mentioned in the question but your solution doesn't work if n is less than s.length()