mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-25 12:14:26 +08:00
optimization code level from A to A+
This commit is contained in:
@ -26,23 +26,23 @@ func Test_Problem1380(t *testing.T) {
|
||||
|
||||
qs := []question1380{
|
||||
|
||||
question1380{
|
||||
para1380{[][]int{[]int{3, 7, 8}, []int{9, 11, 13}, []int{15, 16, 17}}},
|
||||
{
|
||||
para1380{[][]int{{3, 7, 8}, {9, 11, 13}, {15, 16, 17}}},
|
||||
ans1380{[]int{15}},
|
||||
},
|
||||
|
||||
question1380{
|
||||
para1380{[][]int{[]int{1, 10, 4, 2}, []int{9, 3, 8, 7}, []int{15, 16, 17, 12}}},
|
||||
{
|
||||
para1380{[][]int{{1, 10, 4, 2}, {9, 3, 8, 7}, {15, 16, 17, 12}}},
|
||||
ans1380{[]int{12}},
|
||||
},
|
||||
|
||||
question1380{
|
||||
para1380{[][]int{[]int{1, 2, 3, 4, 5}, []int{1, 2, 3, 4, 5}}},
|
||||
{
|
||||
para1380{[][]int{{1, 2, 3, 4, 5}, {1, 2, 3, 4, 5}}},
|
||||
ans1380{[]int{1}},
|
||||
},
|
||||
|
||||
question1380{
|
||||
para1380{[][]int{[]int{7, 8}, []int{1, 2}}},
|
||||
{
|
||||
para1380{[][]int{{7, 8}, {1, 2}}},
|
||||
ans1380{[]int{7}},
|
||||
},
|
||||
// 如需多个测试,可以复制上方元素。
|
||||
|
Reference in New Issue
Block a user