diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-09-28 12:48:24 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-09-28 12:48:24 +0900 |
| commit | 9d2adfc00c421dd8c8f57fc4b8e242aac75067a5 (patch) | |
| tree | 24e395f2757f131dfe46e1e812b5ad401747b181 /1_array_hashing/top_k_elements.py | |
| parent | 02bf291151db5f20e1b8707d99b8cdbff00cacd1 (diff) | |
Init
Diffstat (limited to '1_array_hashing/top_k_elements.py')
| -rw-r--r-- | 1_array_hashing/top_k_elements.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/1_array_hashing/top_k_elements.py b/1_array_hashing/top_k_elements.py index 08c1400..11e0714 100644 --- a/1_array_hashing/top_k_elements.py +++ b/1_array_hashing/top_k_elements.py @@ -63,7 +63,7 @@ class Solution: res.append(j) if len(res) == k: return res - return [-1] + return [] case1 = [1, 2, 2, 3, 3, 3] |
