LeetCode 48. Rotate Image in F#
URL
https://leetcode.com/problems/rotate-image/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0048/main.fsx
let rotate (matrix: int [,]) : unit =
let n = Array2D.length1 matrix
for i in 0 .. (n / 2 - 1) do
...
syohex.hashnode.dev1 min read