About Stack and Queue

Clear explanations of algorithms, data structures, complexity, memory and the basic ideas behind how computers and programs work.

Who this site is for

Students, self-taught programmers and anyone preparing for a CS class or exam who wants core concepts explained clearly.

How the guides are written

  • Answer first. Each guide leads with the direct answer, then explains the why and the how.
  • Practical numbers. Concrete values you can use, with ranges rather than false precision.
  • Connected, not repeated. Short, focused articles link to the in-depth guide for their topic, so you can go as deep as you need.
  • Dated. Every article shows when it was published.

Where to start

browse every topic.