Lists | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Lists

If i want to make a homogeneous graph of 6 nodes (and 5 links), should i use 2 different lists (one for the nodes and the other for the links) and connect them with loops or is there another way? I'm stuck, i can't think clearly.

5th Oct 2018, 11:08 PM
Kostas Lympe
Kostas Lympe - avatar
1 Answer
0
but don't i need to connect each node with the others? i mean, its homogeneous , all nodes are connected with all links.
5th Oct 2018, 11:30 PM
Kostas Lympe
Kostas Lympe - avatar