Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Misc
8.8K+ articles
Data Structures
1.1K+ articles
Graph
953+ articles
Stack
436+ articles
Data Structures
150+ articles
Data Structures-Graph
24+ articles
Data Structures-Queue
11+ articles
Data Structures-Tree Traversals
10+ articles
Data Structures-Stack
9 posts
Recent Articles
Popular Articles
Arithmetic Expression Evaluation
Last Updated: 19 June 2023
The stack organization is very effective in evaluating arithmetic expressions. Expressions are usually represented in what is known as Infix notation, in which each operat...
read more
Misc
Stack
DSA
Inorder Traversal
Preorder Traversal
PostOrder Traversal
Data Structures-Stack
expression-evaluation
Parentheses-Problems
LIFO (Last-In-First-Out) approach in Programming
Last Updated: 01 September 2022
Prerequisites - FIFO (First-In-First-Out) approach in Programming, FIFO vs LIFO approach in ProgrammingLIFO is an abbreviation for last in, first out. It is a method for h...
read more
Misc
Stack
DSA
Data Structures-Stack
FIFO vs LIFO approach in Programming
Last Updated: 27 July 2022
FIFO is an abbreviation for first in, first out. It is a method for handling data structures where the first element is processed first and the newest element is processed...
read more
Data Structures
DSA
Data Structures-Stack
Data Structures-Queue
Real-life Applications of Data Structures and Algorithms (DSA)
Last Updated: 31 July 2024
You may have heard that DSA is primarily used in the field of computer science. Although DSA is most commonly used in the computing field, its application is not restricte...
read more
Linked List
Tree
Graph
Stack
Queue
Heap
Hash
Matrix
Data Structures
DSA
Arrays
Data Structures
Data Structures-Binary Trees
Data Structures-Tree Traversals
Data Structures-Linked List
Data Structures-Stack
Data Structures-Queue
Data Structures-Graph
Data Structures-Balanced Binary Search Trees
Data Structures-Hash
Data Structures-Array
Data Structures-Misc
Data Structures-B and B+ Trees
Data Structures-Heap
Applications, Advantages and Disadvantages of Stack
Last Updated: 03 November 2024
A stack is a linear data structure in which the insertion of a new element and removal of an existing element takes place at the same end represented as the top of the sta...
read more
Stack
Data Structures
Picked
DSA
Data Structures-Stack
Kahn's Algorithm vs DFS Approach: A Comparative Analysis
Last Updated: 19 October 2023
Topological sorting is a common problem in computer science that involves arranging the vertices of a directed acyclic graph (DAG) in a linear order such that for every di...
read more
Graph
Stack
Sorting
DSA
Topological Sorting
graph-connectivity
Data Structures
Data Structures-Tree Traversals
Data Structures-Stack
Data Structures-Graph
Stack for Competitive Programming
Last Updated: 28 April 2025
For competitive programming to be successful, efficient data structures and algorithms are essential. The stack is one such tool. In this article, we will examine how stac...
read more
Stack
Competitive Programming
DSA
Data Structures-Stack
Counting Distinct Arrays by Removal and Concatenation of Elements
Last Updated: 29 February 2024
Given an array arr[] of length N, the task is to create an array res[] of length N where each element res[i] represents the count of distinct arrays obtained by applying ...
read more
Competitive Programming
Geeks Premier League
DSA
Arrays
Data Structures-Stack
Algorithms-Greedy Algorithms
Geeks Premier League 2023
Implement Stack using Array
Last Updated: 21 March 2025
Stack is a linear data structure which follows LIFO principle. To implement a stack using an array, initialize an array and treat its end as the stack’s top. Implement pus...
read more
Stack
Picked
DSA
Data Structures-Stack
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !