add: 跳跃游戏 II

This commit is contained in:
2020-05-04 13:43:56 +08:00
parent c5f7255d3a
commit b806ec7959
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import { jump } from '../../src/array/jump-game-ii'
test('跳跃游戏II', () => {
expect(jump([2, 3, 1, 1, 4])).toBe(2)
})