LeetCode 240. Search a 2D Matrix II in F#
URL
https://leetcode.com/problems/search-a-2d-matrix-ii/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0240/main.fsx
let searchMatrix (matrix: int [,]) (target: int) : bool =
let binarySearch pos isRow target (m...
syohex.hashnode.dev1 min read