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,22 +27,22 @@ func Test_Problem35(t *testing.T) {
|
||||
|
||||
qs := []question35{
|
||||
|
||||
question35{
|
||||
{
|
||||
para35{[]int{1, 3, 5, 6}, 5},
|
||||
ans35{2},
|
||||
},
|
||||
|
||||
question35{
|
||||
{
|
||||
para35{[]int{1, 3, 5, 6}, 2},
|
||||
ans35{1},
|
||||
},
|
||||
|
||||
question35{
|
||||
{
|
||||
para35{[]int{1, 3, 5, 6}, 7},
|
||||
ans35{4},
|
||||
},
|
||||
|
||||
question35{
|
||||
{
|
||||
para35{[]int{1, 3, 5, 6}, 0},
|
||||
ans35{0},
|
||||
},
|
||||
|
Reference in New Issue
Block a user