Given the following...
(def inTree
\'((1 2)
(1 2 3)
(1 2 4 5 9)
(1 2 4 10 15)
(1 2 4 20 25)))
How would you transform it to this t
As a general approach, here's what I would do:
This problem lends itself very well to a recursive implementation. I would aim for that if possible.