Skip to content

niftycode

Thoughts on Programming

  • Home
  • About
  • Contact
  • Privacy Policy

Data Structures

Data Structures in Python — Stacks

March 22, 2023March 20, 2023 by Bodo Schönfeld

In the first part of this tutorial series on data structures in Python, queues were explained. Stacks follow in the second part. A stack is also a data structure that is similar to the list. But there is a significant difference: There are several rules that dictate how items must be added or removed. New …

Read more

Categories Development Tags Data Structures, Python, Stacks

Data structures in Python — Queues

March 20, 2023February 15, 2023 by Bodo Schönfeld

A queue is a data structure similar to a list. However, the functionality is of a limited nature, because a queue is characterized by the fact that the FIFO principle (First In, First Out) applies here. This means that the first item added to a queue is the first item removed. Adding data is called …

Read more

Categories Development Tags Data Structures, Python, Queues
  • Home
  • About
  • Contact
© 2023 niftycode • Built with GeneratePress