LeetCode 223. Rectangle Area in F#
URL
https://leetcode.com/problems/rectangle-area/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0223/main.fsx
let computeArea ((ax1, ay1, ax2, ay2): (int * int * int * int)) (bx1, by1, bx2, by2) =
let area1 = (a...
syohex.hashnode.dev1 min read