Lists: The Science and Math it Relies On
Lists: The Science and Math it Relies On
Arrays
If you've ever seen a stable full of horses—or cows or sheep or Komodo dragons—you already know the basic principles of arrays. Not in the sense that you should know how to ride a horse, cow, o...
Linked Lists
There aren't a lot of things in life that only let you move one direction. Sure, supermarkets might try to tell you which doors are meant to bring you in and take you out, but anyone who's ever pla...
Stacks (LIFO)
You've seen stacks before. Stacks of books and papers cover your desk and stacks of plates sit in the cupboard (or maybe they're just stacked in the sink; we aren't judging). Grocery stores like to...
Queues (FIFO)
Anyone who doesn't live in a town of two to three people has waited in a line before. Sure, nobody likes it, but at the same time it feels much more fair than other forms of deciding who goes first...