We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c209c5 commit f0a3c83Copy full SHA for f0a3c83
1 file changed
implementation/repeatedString.java
@@ -0,0 +1,25 @@
1
+
2
3
+class repeatedString {
4
5
+ /*
6
+ * Complete the 'repeatedString' function below.
7
+ *
8
+ * The function is expected to return a LONG_INTEGER.
9
+ * The function accepts following parameters:
10
+ * 1. STRING s
11
+ * 2. LONG_INTEGER n
12
+ */
13
14
+ public static long repeatedString(String s, long n) {
15
+ // Write your code here
16
17
+ }
18
19
+ public static void main(String[] args) {
20
+ String s = "abcac";
21
+ long n = 10;
22
+ System.out.println(repeatedString(s, n));
23
24
25
+}
0 commit comments