LeetCode 872. Leaf-Similar Trees in F#
URL
https://leetcode.com/problems/leaf-similar-trees/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0872/main.fsx
type Tree =
| Leaf
| Node of int * Tree * Tree
let leafSimilar (root1: Tree) (root2: Tree) :...
syohex.hashnode.dev1 min read