LeetCode 1220. Count Vowels Permutation in F#
URL
https://leetcode.com/problems/count-vowels-permutation/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/1220/main.fsx
let countVowelPermutation (n: int) : int =
let dp = Array2D.init 5 n (fun _ _ -> 0L)
f...
syohex.hashnode.dev1 min read