add: 第一个只出现一次的字符

This commit is contained in:
yige committed 2020-05-14 18:26:00 +08:00
1 parent 9c2a165583
commit d348c63824
4 files changed
+30

No files matched your search

@@ -0,0 +1,5 @@
import { firstUniqChar } from '../../src/array/first-unique-character-in-a-string'
test('第一个只出现一次的字符', () => {
expect(firstUniqChar('leetcode')).toBe('l')
})