LeetCode 1913. Maximum Product Difference Between Two Pairs in F#
URL
1913. Maximum Product Difference Between Two Pairs
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/problems/1913/main.fsx
let maxProductDifference (nums: int list) : int =
let sorted = List.sort nums
let max = sort...
syohex.hashnode.dev1 min read