mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-05 00:25:22 +08:00
optimization code level from A to A+
This commit is contained in:
@ -26,21 +26,21 @@ func Test_Problem53(t *testing.T) {
|
||||
|
||||
qs := []question53{
|
||||
|
||||
question53{
|
||||
{
|
||||
para53{[]int{-2, 1, -3, 4, -1, 2, 1, -5, 4}},
|
||||
ans53{6},
|
||||
},
|
||||
question53{
|
||||
{
|
||||
para53{[]int{2, 7, 9, 3, 1}},
|
||||
ans53{22},
|
||||
},
|
||||
|
||||
question53{
|
||||
{
|
||||
para53{[]int{2}},
|
||||
ans53{2},
|
||||
},
|
||||
|
||||
question53{
|
||||
{
|
||||
para53{[]int{-1, -2}},
|
||||
ans53{-1},
|
||||
},
|
||||
|
Reference in New Issue
Block a user