LeetCode 680. Valid Palindrome II in F#
URL
https://leetcode.com/problems/valid-palindrome-ii/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0680/main.fsx
let rec isPalindrome (cs: char []) (left: int) (right: int) : bool =
if left >= right then
...
syohex.hashnode.dev1 min read