LeetCode 532. K-diff Pairs in an Array in F#
URL
https://leetcode.com/problems/k-diff-pairs-in-an-array/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0532/main.fsx
let toMap (nums: int list) : Map<int, int> =
let rec toMap' nums m =
match nums wit...
syohex.hashnode.dev1 min read