what is linked_list and Graph | Sololearn: Learn to code for FREE!


what is linked_list and Graph

I'm stuck in linked_list and Graph in python data structure who can explain how they work more clearly ...anyone

7/19/2022 2:14:06 PM

Abdul rahmon

1 Answer

New Answer


These are both "data structures" and if they are complicated don't worry — they're a lot to figure out. Take your time and look at examples. https://www.geeksforgeeks.org/data-structures/linked-list/ A linked list is a data structure whose data (these are called nodes) points to the NEXT item in the list. Think of a long line (queue) for a restroom. You don't know everyone in the line but you do know who is in front of you, and they know who is in front of them, etc.