Skip to content

Commit 5ac4271

Browse files
author
jjcapparell
committed
chore: removing Lines for java file
1 parent 4e0fee1 commit 5ac4271

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lesson_13/maps_ts/src/lesson13.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ export function findPermutationDifference(s: string, t: string): number {
88
}
99
for (const key of stringS.keys()) {
1010
if (stringT.has(key)) {
11-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1211
const value1 = stringS.get(key)!; // Non-null assertion because we checked with has()
13-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1412
const value2 = stringT.get(key)!; // Non-null assertion
1513
const difference = Math.abs(value1 - value2);
1614
diffSum += difference;

0 commit comments

Comments
 (0)