How to create a linked list and call it? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: How to create a linked list and call it? (/thread-31071.html) Pages:
1
2
|
RE: How to create a linked list and call it? - deanhystad - Nov-21-2020 It is tough to argue what contitutes good design for a problem this contrived. In C you would have a Link and a List, and the list would do all the heavy lifting. In Python you would skip the link and use the built in list and the code would be 5 lines long. RE: How to create a linked list and call it? - jefsummers - Nov-21-2020 Less in APL After all, you can program Conway's game of life in 1 line life←{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵} RE: How to create a linked list and call it? - loves - Nov-22-2020 Thanks all. How to mark it as resolved? I don't see the toggle button next NewReply The other wild thing is that although I subscribed the thread but no email notification received. |