LeetCode 1337. The K Weakest Rows in a Matrix in F#
URL
https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/1337/main.fsx
let kWeakestRows (mat: int list list) (k: int) : int list =
mat
|> List.mapi (fun...
syohex.hashnode.dev1 min read