LeetCode 605. Can Place Flowers in F#
URL
Can Place Flowers - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/challenge/202303/can_place_flowers/main.fsx
let canPlaceFlowers (floweredbed: int list) (n: int) : bool =
let v = (0 :: floweredbed) @ [ 0 ]
...
syohex.hashnode.dev1 min read