LeetCode 1323. Maximum 69 Number in F#
URL
https://leetcode.com/problems/maximum-69-number/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/1323/main.fsx
let maximum69Number (num: int) : int =
let rec toDigits n acc =
if n <= 0 then
...
syohex.hashnode.dev1 min read