Tutorials
Courses
Go Premium
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
32.1K+ articles
DSA
20.0K+ articles
Misc
7.8K+ articles
Stack
261+ articles
Data Structures
150+ articles
Inorder Traversal
43+ articles
Preorder Traversal
39+ 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
Stack using Array
Last Updated: 31 July 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
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
DSA
Data Structures-Stack
Algorithms-Greedy Algorithms
Geeks Premier League 2023
Stack for Competitive Programming
Last Updated: 23 July 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
Competitive Programming
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
Applications, Advantages and Disadvantages of Stack
Last Updated: 23 July 2025
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
Picked
DSA
Data Structures-Stack
Real-life Applications of Data Structures and Algorithms (DSA)
Last Updated: 28 July 2025
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
DSA
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
LIFO (Last-In-First-Out) approach in Programming
Last Updated: 11 July 2025
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: 11 July 2025
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
DSA
Data Structures-Stack
Data Structures-Queue
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
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 !