mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-04 16:12:47 +08:00
optimization code level from A to A+
This commit is contained in:
@ -26,27 +26,27 @@ func Test_Problem697(t *testing.T) {
|
||||
|
||||
qs := []question697{
|
||||
|
||||
question697{
|
||||
{
|
||||
para697{[]int{1, 2, 2, 3, 1}},
|
||||
ans697{2},
|
||||
},
|
||||
|
||||
question697{
|
||||
{
|
||||
para697{[]int{1, 2, 2, 3, 1, 4, 2}},
|
||||
ans697{6},
|
||||
},
|
||||
|
||||
question697{
|
||||
{
|
||||
para697{[]int{}},
|
||||
ans697{0},
|
||||
},
|
||||
|
||||
question697{
|
||||
{
|
||||
para697{[]int{1, 1, 1, 1, 1}},
|
||||
ans697{5},
|
||||
},
|
||||
|
||||
question697{
|
||||
{
|
||||
para697{[]int{1, 2, 2, 3, 1, 4, 2, 1, 2, 2, 3, 1, 4, 2}},
|
||||
ans697{13},
|
||||
},
|
||||
|
Reference in New Issue
Block a user