LeetCode 429. N-ary Tree Level Order Traversal in F#
URL
https://leetcode.com/problems/n-ary-tree-level-order-traversal/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0429/main.fsx
type Tree =
| Leaf
| Node of int * (Tree list)
let levelOrder (root: Tree) : i...
syohex.hashnode.dev1 min read