LeetCode 326. Power of Three in F#
URL
https://leetcode.com/problems/power-of-three/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0326/main.fsx
let isPowerOfThree (n: int) : bool =
let rec isPowerOfThree' (v: int64) (n: int64) (limit: int64) =
...
syohex.hashnode.dev1 min read