LeetCode 1026. Maximum Difference Between Node and Ancestor in F#
URL
Maximum Difference Between Node and Ancestor - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/challenge/202401/maximum_difference_between_node_and_ancestor/main.fsx
open System
type Tree =
| Leaf
| Node ...
syohex.hashnode.dev1 min read