Skip to content

Commit 689dc6c

Browse files
committed
Runtime: 1 ms (Top 73.53%) | Memory: 41.8 MB (Top 76.89%)
1 parent 68c6836 commit 689dc6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/N/Number of Lines To Write String/Number of Lines To Write String.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 1 ms (Top 73.53%) | Memory: 41.8 MB (Top 76.89%)
12
class Solution {
23
public int[] numberOfLines(int[] widths, String s) {
34
int sum=0,count=0;
@@ -18,4 +19,4 @@ public int[] numberOfLines(int[] widths, String s) {
1819
arr[1]=sum;
1920
return arr;
2021
}
21-
}
22+
}

0 commit comments

Comments
 (0)