mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-12 14:41:34 +08:00
optimization code level from A to A+
This commit is contained in:
@ -28,27 +28,27 @@ func Test_Problem979(t *testing.T) {
|
||||
|
||||
qs := []question979{
|
||||
|
||||
question979{
|
||||
{
|
||||
para979{[]int{}},
|
||||
ans979{0},
|
||||
},
|
||||
|
||||
question979{
|
||||
{
|
||||
para979{[]int{1}},
|
||||
ans979{0},
|
||||
},
|
||||
|
||||
question979{
|
||||
{
|
||||
para979{[]int{3, 9, 20, structures.NULL, structures.NULL, 15, 7}},
|
||||
ans979{41},
|
||||
},
|
||||
|
||||
question979{
|
||||
{
|
||||
para979{[]int{1, 2, 3, 4, structures.NULL, structures.NULL, 5}},
|
||||
ans979{11},
|
||||
},
|
||||
|
||||
question979{
|
||||
{
|
||||
para979{[]int{1, 2, 3, 4, structures.NULL, 5}},
|
||||
ans979{11},
|
||||
},
|
||||
|
Reference in New Issue
Block a user