LeetCode 1302. Deepest Leaves Sum in F#
URL
https://leetcode.com/problems/deepest-leaves-sum/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/1302/main.fsx
open System
type Tree =
| Leaf
| Node of int * Tree * Tree
let deepestLeaveSum (root: Tree)...
syohex.hashnode.dev1 min read