LeetCode 1609. Even Odd Tree in F#
URL
Even Odd Tree - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/challenge/202402/even_odd_tree/main.fsx
type Tree =
| Leaf
| Node of int * Tree * Tree
let isEvenOddTree (root: Tree) : bool =
let rec i...
syohex.hashnode.dev1 min read