LeetCode 606. Construct String from Binary Tree in F#
URL
https://leetcode.com/problems/construct-string-from-binary-tree/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0606/main.fsx
type Tree =
| Leaf
| Node of int * Tree * Tree
let tree2str (root: Tree) : st...
syohex.hashnode.dev1 min read