LeetCode 2597. The Number of Beautiful Subsets in F#
URL
The Number of Beautiful Subsets - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/challenge/202405/the_number_of_beautiful_subsets/main.fsx
let beautifulSubsets (nums: int list) (k: int) =
let rec beautifulSub...
syohex.hashnode.dev1 min read