feat(content): hidden test cases
This commit is contained in:
@@ -27,6 +27,12 @@ test_cases:
|
||||
expected: []
|
||||
- input: { nums: [-4, -2, -2, -2, 0, 1, 2, 2, 2, 3, 3, 4, 4, 6, 6] }
|
||||
expected: [[-4, -2, 6], [-4, 0, 4], [-4, 1, 3], [-4, 2, 2], [-2, -2, 4], [-2, 0, 2]]
|
||||
- input: { nums: [0, 0, 0, 0] }
|
||||
expected: [[0, 0, 0]]
|
||||
- input: { nums: [-1, -1, -1, 2] }
|
||||
expected: [[-1, -1, 2]]
|
||||
- input: { nums: [3, 0, -2, -1, 1, 2] }
|
||||
expected: [[-2, -1, 3], [-2, 0, 2], [-1, 0, 1]]
|
||||
|
||||
description: |
|
||||
Given an integer array `nums`, return all the triplets `[nums[i], nums[j], nums[k]]` such that `i != j`, `i != k`, and `j != k`, and `nums[i] + nums[j] + nums[k] == 0`.
|
||||
|
||||
Reference in New Issue
Block a user