OCaml tree traversal - how do I traverse a multiway tree

后端 未结 0 885
夕颜
夕颜 2021-02-02 17:09

How do I traverse a multiway tree with the following type definition from leaves to the top

type tree = Branch of float * tree list | Leaf
相关标签:
回答
  • 消灭零回复
提交回复
热议问题