This article is a continuation of Python 101: Introduction to Modern Python where we introduced, set up and gave some basic understanding of the py...
For further actions, you may consider blocking this person and/or reporting abuse
I'm kind of confused; why do you list linked lists as non-linear, but then you have trees and graphs as examples for non-linear structures? Also, by your definitions, maps wouldn't fall into either category.
In the ages of CPU cache, this needs lots of asterisks and disclaimers
linked list is linear and I listed it as linear, and explained that in linear data structures are data structures structures where data are accessed siquentially. kindly check again.
About insertion and deletion operation, they are expensive in the sence that much time can be taken as it may involve shifting of elements where a certain order is to be maintained
yes but linked lists are trees though (and, by extension, graphs)
That's... factually incorrect. Have you even looked up the definition of trees before writing an article on them?
hope this will help in understanding why one is linear and why the other is non linear
dev-to-uploads.s3.amazonaws.com/up...
FYI python has a built in package called Queue. No need to implement queues and stacks with lists. Queue supports LIFO, FIFO, and priority.
Agreed, but was just showing how to implement a queen with a list, thanks
Also, you should mention Dataclasses and NamedTuples. Both are very useful built-in packages for storing data.
am going to consider them in my next article which will be a continuation of this
Great article here 👏👏🥳 Keep the good work up
Thanks Kai 🤝🏻
Great article.
Thanks @owino