LeetCode 1293. Shortest Path in a Grid with Obstacles Elimination in F#
URL
https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/1293/main.fsx
let shortestPath (grid: int [,]) (k: int) : int =
let rows = Arra...
syohex.hashnode.dev1 min read