LeetCode 129. Sum Root to Leaf Numbers in F#
URL
Sum Root to Leaf Numbers - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/problems/0129/main.fsx
type Tree =
| Leaf
| Node of int * Tree * Tree
let sumNumbers (root: Tree) : int =
let rec sumNumbers'...
syohex.hashnode.dev1 min read