Post

Linked List

Screenshot 2024-08-18 at 22 03 08

✅ Linked List

linear data structure data ➕ pointer/reference(address part)
connected with pointers/references

-linked list element is a seperate object

  • it is not stored in continuous fashion

✅ Usage

  • queue

🆚 Array

👍🏻 dynamicity(dont have to choose size while creating)
👍🏻 ease of insertions, deletions
👎🏻 cannot be accessed directly, need to start from head and follow through the link to reach node

This post is licensed under CC BY 4.0 by the author.