LeetCode 746. Min Cost Climbing Stairs in F#
URL
https://leetcode.com/problems/min-cost-climbing-stairs/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0746/main.fsx
let minCostClimbingStairs (cost: int list) : int =
let rec minCostClimbingStairs' cost (pre...
syohex.hashnode.dev1 min read