Skip to content

Commit 3286926

Browse files
authored
Update Solution.java
1 parent 500d872 commit 3286926

File tree

1 file changed

+0
-1
lines changed
  • src.save/main/java/g0401_0500/s0466_count_the_repetitions

1 file changed

+0
-1
lines changed

src.save/main/java/g0401_0500/s0466_count_the_repetitions/Solution.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public int getMaxRepetitions(String s1, int n1, String s2, int n2) {
2626
s1Count++;
2727
s2CountMap[s1Count] = s2Count;
2828
}
29-
3029
int n1Left = n1 - memo[s2Idx][0];
3130
int matchedPatternCount = n1Left / (s1Count - memo[s2Idx][0]) * (s2Count - memo[s2Idx][1]);
3231
n1Left = n1Left % (s1Count - memo[s2Idx][0]);

0 commit comments

Comments
 (0)