add: 跳跃游戏 II
This commit is contained in:
5
test/array/jump-game-ii.test.js
Normal file
5
test/array/jump-game-ii.test.js
Normal file
@ -0,0 +1,5 @@
|
||||
import { jump } from '../../src/array/jump-game-ii'
|
||||
|
||||
test('跳跃游戏II', () => {
|
||||
expect(jump([2, 3, 1, 1, 4])).toBe(2)
|
||||
})
|
Reference in New Issue
Block a user