LeetCode 20. Valid Parentheses in F#
URL
https://leetcode.com/problems/valid-parentheses/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/challenge/202203/valid_parentheses/main.fsx
let isValid (s: string) : bool =
let isPair openCh endCh =
match open...
syohex.hashnode.dev1 min read