We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Repeated String
Repeated String
Sort by
recency
|
3704 Discussions
|
Please Login in order to post a comment
public static long repeatedString(String s, long n) { // Write your code here long strLength = s.length();
Here is my c++ solution, you can watch the explanation here : https://youtu.be/Vh5davsSkfA
Python
Python solution