LeetCode 2141. Maximum Running Time of N Computers in F#
URL
Maximum Running Time of N Computers - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/problems/2141/main.fsx
open System
let maxRunTime (n: int) (batteries: int list) : int64 =
let rec maxRunTime' (n: int64) ...
syohex.hashnode.dev1 min read