LeetCode 1260. Shift 2D Grid in F#
URL
https://leetcode.com/problems/shift-2d-grid/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/1260/main.fsx
let toOneDimention (grid: int [,]) (cells: int) (cols: int) : int list =
let rec toOneDimention' i (gr...
syohex.hashnode.dev1 min read