Skip to content

Commit 3e74884

Browse files
committed
Update index.ts
1 parent 86c24cd commit 3e74884

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

image-overlap/index.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
export default /**
2-
* @param {number[][]} img1
3-
* @param {number[][]} img2
4-
* @return {number}
5-
*/
6-
function largestOverlap(img1: number[][], img2: number[][]) {
1+
export default function largestOverlap(
2+
img1: number[][],
3+
img2: number[][]
4+
): number {
75
const len = img1.length;
86
const count: number[][] = Array(2 * len + 1)
97
.fill(0)

0 commit comments

Comments
 (0)