Find binary search trees based on traversal in prolog

后端 未结 0 846
慢半拍i
慢半拍i 2021-01-04 01:14

I am trying to write a Prolog predicate that gives a possible binary search tree for a given traversal. I chose to represent the tree like t(Root, Left Subtree, Right

相关标签:
回答
  • 消灭零回复
提交回复
热议问题