LeetCode 144. Binary Tree Preorder Traversal in F#
URL
https://leetcode.com/problems/binary-tree-preorder-traversal/description/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0144/main.fsx
type Tree =
| Leaf
| Node of int * Tree * Tree
let preorderTraversal...
syohex.hashnode.dev1 min read