From 9d2adfc00c421dd8c8f57fc4b8e242aac75067a5 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 28 Sep 2024 12:48:24 +0900 Subject: Init --- 1_array_hashing/top_k_elements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.3