
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Most Asked Problems on Stack Data Structure in SDE Interviews
A Stack is the linear data structure used to store the elements that are inserted and removed by following the principle of Last In First Out (LIFO). The article "Most Asked Problems on Stack Data Structure Asked in SDE Interviews" covers all the problems topic-wise and includes the industry level and important questions from the interview perspective.
Here are the important stack problems of Data Structure and Algorithms ?
Easy Stack Problems
- Parenthesis Checker
- String Reversal using Stack
- Convert Infix to Prefix/Postfix
- Array Reversal using Stack
- Check Balanced Brackets
- Implement Min Stack
- Validate Stack Sequence
Medium Stack Problems
- History Object
- Queue using Two Stacks
- Expression Evaluation
- Next Greater Element
- Design Stack with Increment Operation
- Sort Stack using Temporary Stack
- Stock Price Span
- Decode String
- Remove All Adjacent Duplicates
- Implement Stack with Queue
- Basic Calculator II
- Asteroid Collision
- Minimum Remove to Make Valid Parentheses
- Maximum Frequency Stack
- Evaluate Reverse Polish Notation
- Remove Duplicate Letters
- Daily Temperatures
- Score of Parentheses
Hard Stack Problems
- Design Stack with getMin() in O(1)
- Largest Rectangle in Histogram
- Maximum Rectangle Binary Matrix
- Basic Calculator III
- Find the Most Competitive Subsequence
- Longest Valid Parentheses
- Maximum Subarray Min-Product
- Design Text Editor
- Design File System
- Parse Lisp Expression
- Check for balanced parentheses in an expression
- Remove Duplicate Letters with Order
Advertisements