LeetCode 128. Longest Consecutive Sequence in F#
URL
https://leetcode.com/problems/longest-consecutive-sequence/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0128/main.fsx
let longestConsecutive (nums: int list) : int =
let rec checkConsecutive num s len =
...
syohex.hashnode.dev1 min read