LeetCode 1423. Maximum Points You Can Obtain from Cards in F#
URL
https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/1423/main.fsx
open System
let maxScore (cardPoints: int list) (k: int) : int =
let rec m...
syohex.hashnode.dev1 min read