Skip to content

Commit 1b78c6d

Browse files
authored
Update rearranging_fruits.py
1 parent 950a03f commit 1b78c6d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

greedy_methods/rearranging_fruits.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
from typing import List
21
from collections import defaultdict
32

4-
5-
def min_cost(basket1: List[int], basket2: List[int]) -> int:
3+
def min_cost(basket1: list[int], basket2: list[int]) -> int:
64
n = len(basket1)
75
freq = defaultdict(int)
86
mn = float("inf")

0 commit comments

Comments
 (0)