For day 7,  I seem to have got by using adjacency matrices,  which are generally more space-hungry
than trees,  but perhaps easier to set up and use.

Cheers,

Mike


On 25/12/2020 19:50, Brian Schott wrote:
I am way back still thinking about AOC2020#7.
I have perused the 2 Essay links below, wondering if they might lead to a
starting point.
Would anyone care to suggest if these 2 links would be relevant?
I saw a solution using graphs, but I know nothing about graphs or trees.

https://code.jsoftware.com/wiki/Essays/Tree_Display
https://code.jsoftware.com/wiki/Essays/Tree_Sum

Thanks,




--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to