LeetCode 135. Candy in F#
URL
https://leetcode.com/problems/candy/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0135/main.fsx
let candy (ratings: int list) : int =
let rec candy' ratings prev acc =
match ratings with
| [...
syohex.hashnode.dev1 min read