update: 最大子序和
This commit is contained in:
1 parent
e9fd76de1b
commit
c5f7255d3a
2 files changed
+1
-2
No files matched your search
@@ -2,5 +2,4 @@ import { maxSubArray } from '../../src/array/maximum-subarray'
|
||||
|
||||
test('最大子序和', () => {
|
||||
expect(maxSubArray([-2, 1, -3, 4, -1, 2, 1, -5, 4])).toBe(6)
|
||||
// expect(maxSubArray([-2, 2, -3, 4, -1, 2, 1, -5, 3])).toBe(5)
|
||||
})
|
||||
Reference in new issue
Block a user