LeetCode 3011. Find if Array Can Be Sorted in F#
URL
Find if Array Can Be Sorted - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/challenge/202411/find_if_array_can_be_sorted/main.fsx
let canSortArray (nums: int list) : bool =
let rec countBits n acc =
...
syohex.hashnode.dev1 min read