LeetCode 623. Add One Row to Tree in F#
URL
https://leetcode.com/problems/add-one-row-to-tree/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0623/main.fsx
type Tree =
| Leaf
| Node of int * Tree * Tree
let addOneRow (root: Tree) (value: int) (de...
syohex.hashnode.dev1 min read