add: 跳跃游戏 II

This commit is contained in:
yige committed 2020-05-04 13:43:56 +08:00
1 parent c5f7255d3a
commit b806ec7959
3 files changed
+30

No files matched your search

+5
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)
})