mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-06 01:15:57 +08:00
optimization code level from A to A+
This commit is contained in:
@ -26,41 +26,41 @@ func Test_Problem457(t *testing.T) {
|
||||
|
||||
qs := []question457{
|
||||
|
||||
question457{
|
||||
{
|
||||
para457{[]int{-1}},
|
||||
ans457{false},
|
||||
},
|
||||
|
||||
question457{
|
||||
{
|
||||
para457{[]int{3, 1, 2}},
|
||||
ans457{true},
|
||||
},
|
||||
|
||||
question457{
|
||||
{
|
||||
para457{[]int{-8, -1, 1, 7, 2}},
|
||||
ans457{false},
|
||||
},
|
||||
|
||||
question457{
|
||||
{
|
||||
para457{[]int{-1, -2, -3, -4, -5}},
|
||||
ans457{false},
|
||||
},
|
||||
|
||||
question457{
|
||||
{
|
||||
para457{[]int{}},
|
||||
ans457{false},
|
||||
},
|
||||
|
||||
question457{
|
||||
{
|
||||
para457{[]int{2, -1, 1, 2, 2}},
|
||||
ans457{true},
|
||||
},
|
||||
|
||||
question457{
|
||||
{
|
||||
para457{[]int{-1, 2}},
|
||||
ans457{false},
|
||||
},
|
||||
question457{
|
||||
{
|
||||
para457{[]int{-2, 1, -1, -2, -2}},
|
||||
ans457{false},
|
||||
},
|
||||
|
Reference in New Issue
Block a user