topic was closed thanks.
--- Python lists and Linked Lists ---
--- Python lists and Linked Lists ---
|
Nov-22-2020, 03:36 PM
How would doing it for you help you to learn?
Show us your work and where you are stuck
Nov-22-2020, 04:27 PM
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.
Nov-22-2020, 05:51 PM
A good article about linked lists and Python: https://realpython.com/linked-lists-pyth...nked-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.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians! |
|
Users browsing this thread: 2 Guest(s)