mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-09 12:23:15 +08:00
optimization code level from A to A+
This commit is contained in:
@ -26,22 +26,22 @@ func Test_Problem26(t *testing.T) {
|
||||
|
||||
qs := []question26{
|
||||
|
||||
question26{
|
||||
{
|
||||
para26{[]int{1, 1, 2}},
|
||||
ans26{2},
|
||||
},
|
||||
|
||||
question26{
|
||||
{
|
||||
para26{[]int{0, 0, 1, 1, 1, 1, 2, 3, 4, 4}},
|
||||
ans26{5},
|
||||
},
|
||||
|
||||
question26{
|
||||
{
|
||||
para26{[]int{0, 0, 0, 0, 0}},
|
||||
ans26{1},
|
||||
},
|
||||
|
||||
question26{
|
||||
{
|
||||
para26{[]int{1}},
|
||||
ans26{1},
|
||||
},
|
||||
|
Reference in New Issue
Block a user