LeetCode 1071. Greatest Common Divisor of Strings in F#
URL
Greatest Common Divisor of Strings - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/problems/1071/main.fsx
open System
let commonDivisors (n1: int) (n2: int) : int list =
let rec commonDivisors' i limit n1 n...
syohex.hashnode.dev1 min read