LeetCode 1680. Concatenation of Consecutive Binary Numbers in F#
URL
https://leetcode.com/problems/concatenation-of-consecutive-binary-numbers/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/1680/main.fsx
let concatenatedBinary (n: int) : int =
let rec concat n acc =
i...
syohex.hashnode.dev1 min read