LeetCode 867. Transpose Matrix in F#
URL
https://leetcode.com/problems/transpose-matrix/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0867/main.fsx
let transpose (matrix: int [,]) : int [,] =
let rows = Array2D.length1 matrix
let cols = Array2...
syohex.hashnode.dev1 min read