We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83c7a80 commit 7778f4cCopy full SHA for 7778f4c
lesson_13/maps_ts/src/lesson13.ts
@@ -3,7 +3,7 @@
3
* https://leetcode.com/problems/permutation-difference-between-two-strings
4
*/
5
export function findPermutationDifference(s: string, t: string): number {
6
- let charLocation = new Map<string, number>();
+ let charLocation = new Map<string, number>();
7
let charSum = 0;
8
for (let i = 0; i < s.length; i++) {
9
charLocation.set(s[i], i);
0 commit comments