LeetCode 264. Ugly Number II in F#
URL
https://leetcode.com/problems/ugly-number-ii/description/?envType=daily-question&envId=2024-08-18
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/challenge/202408/ugly_number2/main.fsx
let nthUglyNumber (n: int) : int =
...
syohex.hashnode.dev1 min read