I need help with a ternary tree in Prolog

0

Write a program in Prolog that traverses a terrarium in depth and calculate the sum of each branch from the root to a leaf. The resulting sums must be returned in a list in the order in verse followed by walking the tree.

    
asked by Jeeessss 21.11.2018 в 01:42
source

0 answers