---
title: "Discussion on \"Understanding Stacks\" | Hashnode"
description: "Discussion on \"Understanding Stacks\". In computer science, a stack is what you think it is. A pile. There are two important restrictions:\n\nOnly add to the top\n\nOnly remove from the top\n\n\nTo illustrate, let’s track how we get dressed using a stack. At first, the stack is empty. Let’s add ..."
url: "https://hashnode.com/posts/understanding-stacks/68846b12ec633f0eae3fbc18"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding Stacks](https://brettrowberry.com/understanding-stacks?utm_source=hashnode&utm_medium=feed)

In computer science, a stack is what you think it is. A pile. There are two important restrictions: Only add to the top Only remove from the top To illustrate, let’s track how we get dressed using a stack. At first, the stack is empty. Let’s add ...

Jul 26, 2025 · 1 min read · brettrowberry.com  
Read the article

-   [#stack](https://hashnode.com/tag/stack)
-   [#computer-science](https://hashnode.com/tag/computer-science)
-   [#data-structure](https://hashnode.com/tag/data-structure)

## Written by

[Brett Rowberry](https://hashnode.com/@brettrowberry)

@brettrowberry

  
[View profile](https://hashnode.com/@brettrowberry)

Husband, dad, manager, functional programmer, and DIYer

I like programming (at work) and learning for fun. You'll often find me cooking and working on my house in my spare time.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
