feat(content): hidden test cases
This commit is contained in:
@@ -28,6 +28,12 @@ test_cases:
|
||||
expected: [5]
|
||||
- input: { nums: [1, 1, 2, 2, 3, 3, 4], k: 3 }
|
||||
expected: [1, 2, 3]
|
||||
- input: { nums: [-1, -1, -1, 2, 2, 3], k: 2 }
|
||||
expected: [-1, 2]
|
||||
- input: { nums: [3, 0, 1, 0], k: 1 }
|
||||
expected: [0]
|
||||
- input: { nums: [1, 1, 1, 2, 2, 3], k: 3 }
|
||||
expected: [1, 2, 3]
|
||||
|
||||
description: |
|
||||
Given an integer array `nums` and an integer `k`, return *the* `k` *most frequent elements*. You may return the answer in **any order**.
|
||||
|
||||
Reference in New Issue
Block a user