LeetCode 473. Matchsticks to Square in F#
URL
https://leetcode.com/problems/matchsticks-to-square/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0473/main.fsx
let rec makeSquare' pos (edges: int []) len (matchSticks: int []) =
if pos = matchStic...
syohex.hashnode.dev1 min read