feat(content): hidden test cases
This commit is contained in:
@@ -26,6 +26,12 @@ test_cases:
|
||||
expected: true
|
||||
- input: { nums: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 99, 97] }
|
||||
expected: false
|
||||
- input: { nums: [3, 3, 3, 4, 5] }
|
||||
expected: true
|
||||
- input: { nums: [1] }
|
||||
expected: false
|
||||
- input: { nums: [1, 2, 3, 4, 5, 6, 7] }
|
||||
expected: true
|
||||
|
||||
description: |
|
||||
Given an integer array `nums`, return `true` *if you can partition the array into two subsets such that the sum of the elements in both subsets is equal* or `false` *otherwise*.
|
||||
|
||||
Reference in New Issue
Block a user