FullStackFSCCafé
 
 
Sign in with GoogleSign in with Google. Opens in new tab
Kill Your Tech Interview
3877 Full-Stack, Algorithms & System Design Interview Questions
Answered To Get Your Next Six-Figure Job Offer
      

Top 25 Stacks Interview Questions

Entry Junior Mid Senior Expert
Sign in with GoogleSign in with Google. Opens in new tab
Topic Progress:

Theoretical Questions

Q1:   

Define Stack

  Related To: Data Structures
Add to PDF   Entry 
Q2:   

Explain why Stack is a recursive data structure

  Related To: Data Structures
Add to PDF   Entry 
Q3:   

Why Are Stacks Useful?

  
Add to PDF   Junior 
Q4:   

How to implement Linked List Using Stack?

  Related To: Linked Lists
Add to PDF   Junior 
Q5:   

Why and when should I use Stack or Queue data structures instead of Arrays/Lists?

  Related To: Queues, Data Structures
Add to PDF   Junior 
Q6:   

Explain what are Infix, Prefix and Postfix Expressions?

  
 Add to PDF   Mid 
Q7:   

Compare Array based vs Linked List stack implementations

  Related To: Arrays, Linked Lists
 Add to PDF   Mid 
Q8:   

Why do we need Prefix and Postfix notations?

  
 Add to PDF   Senior 
Q9:   

How do I convert a Queue into the Stack?

  Related To: Queues
 Add to PDF   Senior 

Code Challenges

Q1:   

Reverse a String using Stack

 Java Related To: Strings
 Add to PDF   Junior 
Q2:   

Design a Stack that supports retrieving the min element in O(1)

 JavaPY Related To: Java
 Add to PDF   Junior 
Q3:   

Implement a Queue using two Stacks

 CSJSJavaPY Related To: Queues, Java, C#, JavaScript
 Add to PDF   Junior 
Q4:   

Implement Stack using Two Queues (with efficient push)

 Java Related To: Queues
 Add to PDF   Junior 
Q5:   

What is complexity of push and pop for a Stack implemented using a LinkedList?

  Related To: Linked Lists, Big-O Notation
 Add to PDF   Junior 
Q6:   

Sort a Stack using Recursion

 JavaPY Related To: Sorting, Java
  Add to PDF   Mid 
Q7:   

Find duplicate parenthesis in expression

 Java 
  Add to PDF   Mid 
Q8:   

How reverse Stack without using any (extra) data structure?

 JavaPY 
  Add to PDF   Mid 
Q9:   

Check if parentheses are balanced using Stack

 JSJavaPY Related To: Java, Python, JavaScript
  Add to PDF   Mid 
Q10:   

Sort a Stack using another Stack

 JavaPY Related To: Sorting
  Add to PDF   Mid 
Q11:   

Implement Double Linked List from Stack with min complexity

 Java Related To: Linked Lists
  Add to PDF   Mid 
Q12:   

How to implement 3 Stacks with one Array?

  Related To: Arrays, Data Structures
  Add to PDF   Senior 
Q13:   

Given an extremely large file that contains parenthesis, how would you say that the parenthesis are balanced?

 Java 
  Add to PDF   Senior 
Q14:   

Build a Binary Expression Tree for this expression

 Java Related To: Binary Tree, Java
  Add to PDF   Senior 
Q15:   

How implement a Queue using only One (1) Stack?

 Java Related To: Queues
  Add to PDF   Senior 
Q16:   

How to check for braces balance in a really large (1T) file in parallel?

  Related To: Brain Teasers
  Add to PDF   Expert 
 

Rust has been Stack Overflow’s most loved language for four years in a row and emerged as a compelling language choice for both backend and system developers, offering a unique combination of memory safety, performance, concurrency without Data races...

Clean Architecture provides a clear and modular structure for building software systems, separating business rules from implementation details. It promotes maintainability by allowing for easier updates and changes to specific components without affe...

Azure Service Bus is a crucial component for Azure cloud developers as it provides reliable and scalable messaging capabilities. It enables decoupled communication between different components of a distributed system, promoting flexibility and resili...

Cosmos DB has gained popularity among developers and organizations across various industries, including finance, e-commerce, gaming, IoT, and more. Follow along and learn the 24 most common and advanced Azure Cosmos DB interview questions and answers...
More than any other NoSQL database, and dramatically more than any relational database, MongoDB's document-oriented data model makes it exceptionally easy to add or change fields, among other things. It unlocks Iteration on the project. Iteration f...
Unit Tests and Test Driven Development (TDD) help you really understand the design of the code you are working on. Instead of writing code to do something, you are starting by outlining all the conditions you are subjecting the code to and what outpu...
Domain-Driven Design is nothing magical but it is crucial to understand the importance of Ubiquitous Language, Domain Modeling, Context Mapping, extracting the Bounded Contexts correctly, designing efficient Aggregates and etc. before your next DDD p...
At its core, Microsoft Azure is a public cloud computing platform - with solutions including Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS) that can be used for services such as analytics, virtual c...
As an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications. Follow along to refresh your knowledge and explore the 52 most frequently asked and advanced Node JS Interview Questions and Answers every...
Dependency Injection is most useful when you're aiming for code reuse, versatility and robustness to changes in your problem domain. DI is also useful for decoupling your system. DI also allows easier unit testing without having to hit a database and...