Intermediate Python Tutorial #8 - Collections/Deque(deck)

preview_player
Показать описание
Intermediate Python Tutorial #8 - Collections/Deque(deck)

Today's Topic: deque, this is a unique data type within the collections module in python. It is much faster than a list in respect to removing and adding elements to either side of it. It has many cool and useful methods which I showcase in this video.

In this set of videos I will be explaining more advanced programming concepts and showing you intermediate-advanced tools that you can use in python. A lot of these tools will help you to solve problems/code more efficiently and will save you a ton of time!

Future topics:
9. Collections: orderedDict
10. Collections: defualtDict
11. docstrings

Want To Support This Channel?
Bitcoin: 1PbkAYLFaJBgjbKn2ptGyBz65xWN8hJgBU
Ethereum: 0xdd42dbbdba60f7163fc7a840e189474b6e8bfcad
Ripple: rD4arM9CVjQWqi8f1kxdpCgkCgEkqBgtud

Please leave a LIKE and SUBSCRIBE for more content!

Tags:
- Tech With Tim
- Python Tutorials
- Intermediate Python Tutorials
- Collections module python
- More advanced python topics
- deque python
Рекомендации по теме
Комментарии
Автор

Note: deque can be used to implement a stack or QUEUE. Doing so the ' n = d.pop() ' operation makes more sense. In this context, d.append(value) is a push-onto-the-stack operation.

mrenrollment
Автор

Thank you Tim this was very clear to understand. Understanding why a tutorial is just reading about it.

dlizard
Автор

youre a great teacher, your explanations are very clear and easy to grasp

victoriae
Автор

This was so well explained, please continue this series. It helps a lot!

skyfalcon
Автор

Thank you, your tutorial was helpful to me, saved me a lot of time.

adelsayadkooh
Автор

Glad I stayed till the end, I wanted to learn deque for a noob web crawler where I stored the found websites, and if the deque became too long, it would delete the previous websites, neat!!

VivekYadav-dsoz
Автор

Future topics:
9. Collections: orderedDict
10. Collections: defualtDict
11. docstrings

rohanpaul
Автор

Thank you Tim, this is really helpful to me!

LoveTaiwan
Автор

Hi Tim, would you have any plan for finishing the Intermediate series on Python? I think couple things were left out from what you initially started the series with (OrderDict and something else, from Collections). If possible, please continue making these until you feel you've covered everything in the subject area. Like others have said, this level of material doesn't get much coverage on YT so it's an excellent reference to have, thx

Nomadically
Автор

This is a short series but it is jam packed with awesomeness! Thanks Tim!

jhassee
Автор

Bro, Please continue this series. this is well made.

Subbu-qu
Автор

Thanks so much for making this just finished your intermediate python tutorial series

hackercop
Автор

7:46 this is best thing for people who want to make something travel in Pygame, either its bullet or snake or any object.

pkavenger
Автор

Will you ever continue this tutorial series?

migueldomingos
Автор

Thank you for the video. I am grateful for your time and contribution. Kind regards, Akira.

akira_asahi
Автор

Hi Tim. Just a quick question.
What happened to :
9. Collections: orderedDict?

10. Collections: defualtDict?

11. docstrings?
I'm learning Python and like the way your videos are. Will there be an 9, 10, and 11?

Just had to ask, because they are not on your page if you made them.

Thanks for the great video tutorial. it helped a lot.

iamkrazashell
Автор

man thx a lot for this tutorial i hope u continue it someday you really helped me a lot :)

yayeetxd
Автор

random though: just wanted to check the time, cause we both running win10 and youtube was in fullscreen, i checked the time and then clicked it wasnt my pc but funny enough the time was exactly the same

Software-nsli
Автор

From The Art of Computer Programming, volume 1, section 2.2.1 "Stacks, Queues, and Deques":

A deque ("double-ended queue") is a linear list for which all insertions and deletions (and usually all accesses) are made at the ends of the list. A deque is therefore more general than a stack or a queue; it has some properties in common with a deck of cards, and it is pronounced the same way.

It's pronounced /dɛk/, just like the word deck, as in a deck of cards.

asfonseca
Автор

when will you continue on this series ??

aryan_