LeetCode 967. Numbers With Same Consecutive Differences in F#
URL
https://leetcode.com/problems/numbers-with-same-consecutive-differences/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0967/main.fsx
let numsSameConsecDiff (n: int) (k: int) : int list =
let rec numsSameCons...
syohex.hashnode.dev1 min read