Skip to content

Commit 97a53fd

Browse files
committed
Time: 541 ms (96.67%), Space: 31.6 MB (14.85%) - LeetHub
1 parent 40b81fe commit 97a53fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

2870-minimum-number-of-operations-to-make-array-empty/2870-minimum-number-of-operations-to-make-array-empty.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# time complexity: O(n)
2+
# space complexity: O(n)
13
from collections import Counter
24
from math import ceil
35
from typing import List

0 commit comments

Comments
 (0)