LeetCode 463. Island Perimeter in F#
URL
Island Perimeter - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/challenge/202404/island_perimeter/main.fsx
let islandPerimeter (grid: int[,]) : int =
let mutable ret = 0
let rows, cols = Array2D.length1...
syohex.hashnode.dev1 min read