mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-05 16:36:41 +08:00
optimization code level from A to A+
This commit is contained in:
@ -26,19 +26,19 @@ func Test_Problem1200(t *testing.T) {
|
||||
|
||||
qs := []question1200{
|
||||
|
||||
question1200{
|
||||
{
|
||||
para1200{[]int{4, 2, 1, 3}},
|
||||
ans1200{[][]int{[]int{1, 2}, []int{2, 3}, []int{3, 4}}},
|
||||
ans1200{[][]int{{1, 2}, {2, 3}, {3, 4}}},
|
||||
},
|
||||
|
||||
question1200{
|
||||
{
|
||||
para1200{[]int{1, 3, 6, 10, 15}},
|
||||
ans1200{[][]int{[]int{1, 3}}},
|
||||
ans1200{[][]int{{1, 3}}},
|
||||
},
|
||||
|
||||
question1200{
|
||||
{
|
||||
para1200{[]int{3, 8, -10, 23, 19, -4, -14, 27}},
|
||||
ans1200{[][]int{[]int{-14, -10}, []int{19, 23}, []int{23, 27}}},
|
||||
ans1200{[][]int{{-14, -10}, {19, 23}, {23, 27}}},
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user