---
title: "Discussion on \"Stack Data Structure\" | Hashnode"
description: "Discussion on \"Stack Data Structure\". What is a stack?\nStack is a linear data structure that follows the Last-In-First-Out (LIFO) principle. This means that the last element added to the stack will be the first one to be removed. We can visualize a stack as a stack of plates, where the l..."
url: "https://hashnode.com/posts/stack-data-structure/644f81ea5eedfcb6b52dd831"
---

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

Discussion

# [Stack Data Structure](https://rathour.com/stack-data-structure?utm_source=hashnode&utm_medium=feed)

What is a stack? Stack is a linear data structure that follows the Last-In-First-Out (LIFO) principle. This means that the last element added to the stack will be the first one to be removed. We can visualize a stack as a stack of plates, where the l...

May 1, 2023 · 4 min read · rathour.com  
Read the article

-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)
-   [#stack](https://hashnode.com/tag/stack)
-   [#data-structures](https://hashnode.com/tag/data-structures)

## Written by

[Anuj Rathour](https://hashnode.com/@rathour)

@rathour · India

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

## Responses 1

Markdown supported · ⌘↵ to post

[Avdhesh Varshney](https://hashnode.com/@avdhesh-varshney)

[May 1, 2023](https://hashnode.com/posts/stack-data-structure/644f81ea5eedfcb6b52dd831/comment/644f895f90a163c764821ffa)

Awesome & cool blog bro
