mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
96f6c59a42
commit
78e80dfcea
@ -24,6 +24,7 @@ This method ensures that you maximize the number of happy children efficiently."
|
||||
"""
|
||||
from typing import List
|
||||
|
||||
|
||||
def max_happy_children(greed_factors: List[int], cookie_sizes: List[int]) -> int:
|
||||
"""
|
||||
Calculate the maximum number of happy children by distributing cookies.
|
||||
|
Loading…
Reference in New Issue
Block a user