---
title: "Discussion on \"Next Greater Element in Arrays using Stack\" | Hashnode"
description: "Discussion on \"Next Greater Element in Arrays using Stack\". We will be discussing the solution for both arrays and circular arrays.\nOnce the logic for an array is clear, with minor changes the logic for the latter could be implemented easily.\n1. Arrays\nProblem Statement: For every element in the array, print ..."
url: "https://hashnode.com/posts/nge-using-stack/5fedc15b017ebb59232dce09"
---

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

Discussion

# [Next Greater Element in Arrays using Stack](https://vineethm.hashnode.dev/nge-using-stack?utm_source=hashnode&utm_medium=feed)

We will be discussing the solution for both arrays and circular arrays. Once the logic for an array is clear, with minor changes the logic for the latter could be implemented easily. 1. Arrays Problem Statement: For every element in the array, print ...

Dec 31, 2020 · 9 min read · vineethm.hashnode.dev  
Read the article

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

## Written by

[M.Vineeth](https://hashnode.com/@vineethm1627)

@vineethm1627 · India

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

Data Structures and Algorithms 💯

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
