LeetCode 1833. Maximum Ice Cream Bars in F#
URL
Maximum Ice Cream Bars - LeetCode
Code
dotnet-study/main.fsx at master · syohex/dotnet-study · GitHub
let maxIceCream (costs: int list) (coins: int) : int =
let rec maxIceCream' i sum costs coins =
match costs with
| [] -> i
...
syohex.hashnode.dev1 min read