LeetCode 1759. Count Number of Homogenous Substrings in F#
URL
Count Number of Homogenous Substrings - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/problems/1759/main.fsx
let countHomogenous (s: string) : int =
let modulo = 1_000_000_007
let rec countHomonogenous'...
syohex.hashnode.dev1 min read