LeetCode 1663. Smallest String With A Given Numeric Value in F#
URL
https://leetcode.com/problems/smallest-string-with-a-given-numeric-value/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/1663/main.fsx
let getSmallestString (n: int) (k: int) : string =
let rec getSmallestStr...
syohex.hashnode.dev1 min read