LeetCode 704. Binary Search in F#
URL
https://leetcode.com/problems/binary-search/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0704/main.fsx
let search (nums: int list) (target: int) : int =
let rec search' (nums: int []) left right =
...
syohex.hashnode.dev1 min read