diff --git "a/problems/1002.\346\237\245\346\211\276\345\270\270\347\224\250\345\255\227\347\254\246.md" "b/problems/1002.\346\237\245\346\211\276\345\270\270\347\224\250\345\255\227\347\254\246.md" index e3d4d774b9..36937b0b91 100644 --- "a/problems/1002.\346\237\245\346\211\276\345\270\270\347\224\250\345\255\227\347\254\246.md" +++ "b/problems/1002.\346\237\245\346\211\276\345\270\270\347\224\250\345\255\227\347\254\246.md" @@ -253,6 +253,7 @@ var commonChars = function (words) { return res }; ``` + TypeScript ```ts console.time("test") @@ -288,6 +289,7 @@ TypeScript console.timeEnd("test") return str.split("") ``` + GO ```golang func commonChars(words []string) []string {