LeetCode 856. Score of Parentheses in F#
URL
https://leetcode.com/problems/score-of-parentheses/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0856/main.fsx
let scoreOfParentheses (s: string) : int =
let rec scoreOfParentheses' cs stack =
match...
syohex.hashnode.dev1 min read