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! |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Compare lists | w_i_k_i_d | 6 | 496 |
May-23-2024, 07:23 PM Last Post: deanhystad |
|
![]() |
Using Lists as Dictionary Values | bfallert | 8 | 708 |
Apr-21-2024, 06:55 AM Last Post: Pedroski55 |
problem with print lists | MarekGwozdz | 4 | 867 |
Dec-15-2023, 09:13 AM Last Post: Pedroski55 |
|
python convert multiple files to multiple lists | MCL169 | 6 | 1,825 |
Nov-25-2023, 05:31 AM Last Post: Iqratech |
|
Lists | blake7 | 6 | 983 |
Oct-06-2023, 12:46 PM Last Post: buran |
|
Trying to understand strings and lists of strings | Konstantin23 | 2 | 934 |
Aug-06-2023, 11:42 AM Last Post: deanhystad |
|
Why do the lists not match? | Alexeyk2007 | 3 | 983 |
Jul-01-2023, 09:19 PM Last Post: ICanIBB |
|
''.join and start:stop:step notation for lists | ringgeest11 | 2 | 2,568 |
Jun-24-2023, 06:09 AM Last Post: ferdnyc |
|
Need help with sorting lists as a beginner | Realist1c | 1 | 850 |
Apr-25-2023, 04:32 AM Last Post: deanhystad |
|
Pip lists the module but python does not find it | Dato | 2 | 1,440 |
Apr-13-2023, 06:40 AM Last Post: Dato |
Users browsing this thread: 1 Guest(s)