what is linked_list and Graph | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

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

19th Jul 2022, 2:14 PM
Abdul rahmon
Abdul rahmon - avatar
1 Answer
+ 1
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.
21st Jul 2022, 10:01 PM
Ian James