LeetCode 881. Boats to Save People in F#
URL
https://leetcode.com/problems/boats-to-save-people/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0881/main.fsx
let numRescueBoats (people: int list) (limit: int) : int =
let rec numRescueBoats' (people: int...
syohex.hashnode.dev1 min read