---
title: "Discussion on \"Array Representation Using Stack\" | Hashnode"
description: "Discussion on \"Array Representation Using Stack\". ARRAY REPRESENTATION OF STACK:- \n(LIFO- LAST IN FIRST OUT)\nEXAMPLE:\nInitially:\nempty stack\ntop = -1\nstep 1: push 3\n           top ++\nstep 2: push 5\n           top++\nstep 3,4: push 7,9\n              top + +\nstep 5: push 2\n          stack overflow\nstep..."
url: "https://hashnode.com/posts/array-representation-using-stack/6517e5800070311f7bdf55b2"
---

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

Discussion

# [Array Representation Using Stack](https://arikmukherjee.hashnode.dev/array-representation-using-stack?utm_source=hashnode&utm_medium=feed)

ARRAY REPRESENTATION OF STACK:- (LIFO- LAST IN FIRST OUT) EXAMPLE: Initially: empty stack top = -1 step 1: push 3 top ++ step 2: push 5 top++ step 3,4: push 7,9 top + + step 5: push 2 stack overflow step...

Sep 30, 2023 · 2 min read · arikmukherjee.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)

## Written by

[Arik Mukherjee](https://hashnode.com/@arikmukherjee)

@arikmukherjee · Kolkata,India

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

DDMC (WBSU) CS '25 | Hackerrank 4⭐ in C , 3⭐in Java , 2⭐in C++ | Full stack Web Developer 🌐 | Interested in AI & ML 🤖

Passionate computer science student and web developer with a deep love for mathematics. Driven by a curiosity to explore diverse technologies and push boundaries in the digital realm. Dedicated to continuous learning and innovation, seeking to make meaningful contributions to the ever-evolving tech landscape.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
