Practice
Resources
Interview Guides
All Problems
Fast Track Courses
Community
Blog
Interview Preparation Kit
Video Courses
Contests
Online IDE
New
Online C++ Compiler
Online C Compiler
Online Python Compiler
Online Java Compiler
Online JavaScript Compiler
Free Mock
Powered By
Free Mock Assessment
Take popular mock tests for free with real life interview questions from top tech companies
Explore Mock Tests
Powered By
Mock Interview
Pair up with a peer like you and practise with hand-picked questions
Explore Mock Interviews
Events
New
Scaler
Please enter 3 or more characters
Experience Scaler
Experience Scaler
Profile
Settings
Help Requests
Profile
Settings
Help Requests
Login to experience InterviewBit
Sign in
Experience Scaler
Experience Scaler
Profile
Settings
Help Requests
Profile
Settings
Help Requests
Login to experience InterviewBit
Sign in
Practice
Improve your coding skills with our resources
Resources
Experience learning
Interview Guides
All Problems
Fast Track Courses
Community
Blog
Interview Preparation Kit
Video Courses
Contests
Compete in popular contests with top coders
Online IDE
Checkout our improved IDE
Online C++ Compiler
Online C Compiler
Online Python Compiler
Online Java Compiler
Online JavaScript Compiler
Free Mock
Assess yourself and prepare for interviews
Free Mock Assessment
Mock Interview
Events
Attend free live masterclass hosted by top tech professionals
New
Scaler
Explore Offerings by SCALER
Join Interviewbit
Get free unlimited access to our resources to help you prepare for your next tech interview
Sign Up or Login to get Started
Continue with Google
OR continue using other options
Are you sure you want to Exit?
You will not able to continue using resources without logging in.
Yes, Exit
No
Courses
Programming
Stacks And Queues
Stacks And Queues
Last Updated: Nov 17, 2023
Go to Problems
Stacks And Queues
Complete all the problems in this Topic to unlock a badge
Completed
Go to Problems
×
Contents
Level 1
Time Complexity
How to Calculate Running Time?
Asymptotic notations
How to Calculate Time Complexity?
Time Complexity Examples
Relevance of time complexity
Space Complexity
Go to problems
Jump to Level 2
Level 2
Arrays
Introduction to pointers in C/C++
Arrays in programming - fundamentals
Pointers and arrays
Pointers and 2-D arrays
Array Implementation Details
Sorting Algorithms
Insertion sort algorithm
Merge sort algorithm
QuickSort Algorithm
Sort Implementation Details
Selection Sort
Bubble Sort
Go to problems
Math
Math Introduction
Factorization
Base number system
Unary number system
Binary number system
Base conversions for base N
Go to problems
Jump to Level 3
Level 3
Binary Search
Binary Search Implementations and common errors
Binary Search Algorithm
Applications of Binary Search
Beyond Sorted Array Binary Search
Advantages and Disadvantages of Binary Search
Go to problems
Strings
For C / C++ users,
For C / C++ users ( contd ),
String Implementation Details
Go to problems
Bit Manipulation
What is Binary Number System?
Understanding Data Types
Bitwise Operators
Bitwise Operators Examples
Bitwise and Logical Operators
Go to problems
Two Pointers
TWO POINTERS
Go to problems
Jump to Level 4
Level 4
Linked Lists
Introduction to linked list
Arrays vs Linked Lists
Linked List Implementation
Doubly linked list
Doubly Linked List Implementation
Go to problems
Stacks And Queues
Introduction to Stack
Array implementation of Stack
Linked List implementation of stack
Stack Implementation Details
Introduction to Queues
Array implementation of Queues
Linked List implementation of Queue
Queue Implementation Details
Go to problems
Jump to Level 5
Level 5
Backtracking
Recursion basics - using factorial
Complexity analysis of recursive programs
Why recursion is not always good
Time Complexity analysis of recursion
Space complexity analysis of recursion
Maze Traversal Algorithm Using Backtracking
Graph Coloring Algorithm using Backtracking
Go to problems
Hashing
Introduction to hashing
Key terms in Hashing
Hashing Techniques
Hashing Implementation Details
Hashing Summary
Go to problems
Jump to Level 6
Level 6
Heaps And Maps
Why treemaps / heaps
Heap and Map Implementation Details
Heap Sort Algorithm
Go to problems
Tree Data Structure
Introduction to Tree Data Structure
Binary Tree
Binary Search Tree
Implementation of BSTs
Go to problems
Jump to Level 7
Level 7
Dynamic Programming
Dynamic Programming Concept
Dynamic Programming Examples
Characteristics of Dynamic Programming
Dynamic Programming Methods
Applications
FAQs
Dynamic Programming Interview Questions
Go to problems
Greedy Algorithm
Greedy Algorithm Examples
Greedy algorithms - When to use
Activity Selection problem
What is Greedy Algorithm?
How to Create Greedy Algorithms?
Go to problems
Jump to Level 8
Level 8
Graph Data Structure & Algorithms
Introduction to graphs
Properties of graph
Graph Traversals ( DFS and BFS )
Example implementation of BFS and DFS
Breadth First Search
Depth-first Search
Dijkstra algorithm
Go to problems
Be a Code Ninja!
Contents
Introduction to Stack
0/2
Examples
Generate all Parentheses
29:21 Mins
60 Pts
Reverse String
10:38 Mins
60 Pts
Stacks And Queues Problems
0/4
Stack simple
Balanced Parantheses!
15:59 Mins
200 Pts
Simplify Directory Path
54:00 Mins
250 Pts
Redundant Braces
42:41 Mins
300 Pts
Min Stack
+4
43:31 Mins
400 Pts
0/3
cleverstack
MAXSPPROD
88:22 Mins
200 Pts
Nearest Smaller Element
41:37 Mins
350 Pts
Largest Rectangle in Histogram
+2
65:52 Mins
450 Pts
0/1
BFS
Hotel Service
49:29 Mins
200 Pts
0/2
Queue
First non-repeating character in a stream of characters
58:46 Mins
200 Pts
Sliding Window Maximum
+3
69:38 Mins
450 Pts
0/2
Stack math
Evaluate Expression
+1
32:46 Mins
400 Pts
Rain Water Trapped
+2
59:06 Mins
400 Pts
Topic Bonus
Bonus will be unlocked after solving min. 1 problem from each bucket
Previous
Next
Video Courses
By
View All Courses
Excel at your interview with Masterclasses
Know More
Certificate included
What will you Learn?
Join Interviewbit
Get free unlimited access to our resources to help you prepare for your next tech interview
Sign Up or Login to get Started
Continue with Google
OR continue using other options
Join Interviewbit
Get free unlimited access to our resources to help you prepare for your next tech interview
Sign Up or Login to get Started
Continue with Google
OR continue using other options
Unlock the complete InterviewBit
experience for free
Sign Up Using
Or use email
1 Million +
Strong Tech Community
500 +
Questions to Practice
100 +
Expert Interview Guides
Free Mock Assessment
Powered By
Fill up the details for personalised experience.
Phone Number
*
OTP will be sent to this number for verification
+33
*
Type to search
+33
No results found
Phone Number
Change Number
Graduation Year
*
Graduation Year
*
Type to search
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
No results found
*
Enter the expected year of graduation if you're student
Current Employer
Company Name
Type to search
No results found
College you graduated from
College/University Name
Type to search
No results found
Job Title
Job Title
Type to search
Engineering Leadership
Software Development Engineer (Backend)
Software Development Engineer (Frontend)
Software Development Engineer (Full Stack)
Data Scientist
Android Engineer
iOS Engineer
Devops Engineer
Support Engineer
Research Engineer
Engineering Intern
QA Engineer
Co-founder
SDET
Product Manager
Product Designer
Backend Architect
Program Manager
Release Engineer
Security Leadership
Database Administrator
Data Analyst
Data Engineer
Non Coder
Other
No results found
Please verify your phone number
Edit
Resend OTP
By clicking on Start Test, I agree to be contacted by Scaler in the future.
Already have an account?
Log in
Free Mock Assessment
Powered By
Instructions from Interviewbit
Start Test