LeetCode 665. Non-decreasing Array in F#
URL
https://leetcode.com/problems/non-decreasing-array/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0665/main.fsx
let checkPossibility (nums: int list) : bool =
let rec checkPossibility' nums prev2 prev1 count...
syohex.hashnode.dev1 min read