LeetCode 289. Game of Life in F#
URL
https://leetcode.com/problems/game-of-life/
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/problems/0289/main.fsx
let countLives (board: int [,]) (row: int) (col: int) : int =
let steps =
[ (-1, -1)
...
syohex.hashnode.dev1 min read