LeetCode 1026. Maximum Difference Between Node and Ancestor in F#
URL
https://leetcode.com/problems/maximum-difference-between-node-and-ancestor/
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/problems/1026/main.fsx
open System
type Tree =
| Leaf
| Node of int * Tree * Tree
let ma...
syohex.hashnode.dev1 min read