--- Python lists and Linked Lists --- - 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: --- Python lists and Linked Lists --- (/thread-31089.html) |
--- Python lists and Linked Lists --- - sabe - Nov-22-2020 topic was closed thanks. RE: --- Python lists and Linked Lists --- - jefsummers - Nov-22-2020 How would doing it for you help you to learn? Show us your work and where you are stuck RE: --- Python lists and Linked Lists --- - sabe - Nov-22-2020 Actually, I am not sure about any code I wrote. The code I wrote does not work at all and I was very stressed. I guess I cannot do this homework but I am very grateful for your help. RE: --- Python lists and Linked Lists --- - DeaD_EyE - Nov-22-2020 A good article about linked lists and Python: https://realpython.com/linked-lists-python/#understanding-linked-lists They describe what a linked list is, explaining the collections.deque and they show an own implementation of linked lists.If you don't have to implement your own linked list, you could use collections.deque .Time measurement could be done with the timeit module. |