Skip to content

Commit a1fee31

Browse files
authored
feat: add solutions to lc problem: No.3034
1 parent 90b9198 commit a1fee31

File tree

1 file changed

+0
-1
lines changed
  • solution/3000-3099/3034.Number of Subarrays That Match a Pattern I

1 file changed

+0
-1
lines changed

solution/3000-3099/3034.Number of Subarrays That Match a Pattern I/Solution.ts

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ function countMatchingSubarrays(nums: number[], pattern: number[]): number {
22
const n: number = nums.length;
33
const m: number = pattern.length;
44
let count: number = 0;
5-
65
for (let i = 0; i <= n - m - 1; i++) {
76
let flag: boolean = true;
87
for (let j = 0; j < m; j++) {

0 commit comments

Comments
 (0)