Skip to content

Commit 19c0dfd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1b78c6d commit 19c0dfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

greedy_methods/rearranging_fruits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from collections import defaultdict
22

3+
34
def min_cost(basket1: list[int], basket2: list[int]) -> int:
45
n = len(basket1)
56
freq = defaultdict(int)

0 commit comments

Comments
 (0)