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:
@ -27,37 +27,37 @@ func Test_Problem350(t *testing.T) {
|
||||
|
||||
qs := []question350{
|
||||
|
||||
question350{
|
||||
{
|
||||
para350{[]int{}, []int{}},
|
||||
ans350{[]int{}},
|
||||
},
|
||||
|
||||
question350{
|
||||
{
|
||||
para350{[]int{1}, []int{1}},
|
||||
ans350{[]int{1}},
|
||||
},
|
||||
|
||||
question350{
|
||||
{
|
||||
para350{[]int{1, 2, 3, 4}, []int{1, 2, 3, 4}},
|
||||
ans350{[]int{1, 2, 3, 4}},
|
||||
},
|
||||
|
||||
question350{
|
||||
{
|
||||
para350{[]int{1, 2, 2, 1}, []int{2, 2}},
|
||||
ans350{[]int{2, 2}},
|
||||
},
|
||||
|
||||
question350{
|
||||
{
|
||||
para350{[]int{1}, []int{9, 9, 9, 9, 9}},
|
||||
ans350{[]int{}},
|
||||
},
|
||||
|
||||
question350{
|
||||
{
|
||||
para350{[]int{4, 9, 5}, []int{9, 4, 9, 8, 4}},
|
||||
ans350{[]int{9, 4}},
|
||||
},
|
||||
|
||||
question350{
|
||||
{
|
||||
para350{[]int{4, 9, 5, 9, 4}, []int{9, 4, 9, 8, 4, 7, 9, 4, 4, 9}},
|
||||
ans350{[]int{9, 4, 9, 4}},
|
||||
},
|
||||
|
Reference in New Issue
Block a user