LeetCode 13. Roman to Integer in F#
URL
https://leetcode.com/problems/roman-to-integer/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0013/main.fsx
let romanToInt (s: string) : int =
let getValue c prev =
match c with
| 'M' -> if p...
syohex.hashnode.dev1 min read