Skip to content

Commit 7778f4c

Browse files
committed
feat: adds Zion's PermutationDifference method in typescript to lesson_13 hw
1 parent 83c7a80 commit 7778f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lesson_13/maps_ts/src/lesson13.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* https://leetcode.com/problems/permutation-difference-between-two-strings
44
*/
55
export function findPermutationDifference(s: string, t: string): number {
6-
let charLocation = new Map<string, number>();
6+
let charLocation = new Map<string, number>();
77
let charSum = 0;
88
for (let i = 0; i < s.length; i++) {
99
charLocation.set(s[i], i);

0 commit comments

Comments
 (0)