[Cialug] Need An Algo Suggestion

LowMahdi lowmaine at mchsi.com
Fri Oct 15 13:58:20 UTC 2021


Looks like a collection of key/value pairs.  

Sent from my iPhone

> On Oct 15, 2021, at 2:39 AM, Andrew Denner <linux-list at upeke.com> wrote:
> 
> So off the top of my head I am drawing a blank at 1am what to call them,
> but something like https://gitlab.com/denner1/toy-toddchain should do what
> you are looking for.
> 
> Basically it is a linked list that the next node is a list.
> 
>> On Thu, Oct 14, 2021 at 3:19 PM Todd Walton <tdwalton at gmail.com> wrote:
>> 
>> I'm not a programmer. Not really. If I had a list of things like this:
>> 
>> 1,2
>> 2,3
>> 2,4
>> 3,6
>> 
>> how would I map them so that I can see that 1 refers to 2, 2 refers to 3
>> and 4, and 3 refers to 6, so:
>> 
>> 1,2,3,6
>> 1,2,4
>> 2,3,6
>> 2,4
>> 3,6
>> 
>> Like that? I want to build up those chains. Every chain has an end. There's
>> no infinite loops. But some have multiple paths.
>> 
>> I'm not sure how to do that, and I'm not sure what to call it for the
>> purposes of DDGing it.
>> 
>> --
>> Todd
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>> 
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug



More information about the Cialug mailing list