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

This commit is contained in:
2020-05-14 18:26:00 +08:00
parent 9c2a165583
commit d348c63824
4 changed files with 30 additions and 0 deletions

View File

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