EdocGram
Home
(current)
Topics
EdocAI
Code Editor
HTML
Javascript
PHP
Python
Python AI Code Editor
More
Contact
About
Privacy Policy
Terms and Conditions
Log In
Topic
View
More
Topic
Hashing
Linked List
Queue
Stack
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Tree
Topic: stack-problem / Level: intermediate
1051. Write a program to push elements into a stack and remove duplicates while maintaining the order of elements.
1052. Create a function to implement a stack-based approach for finding the maximum depth of nested parentheses in a string.
1053. Write a program to reverse the order of elements in a stack of linked list nodes.
1054. Implement a function to convert a postfix expression to prefix using a stack.
1055. Write a program to validate a sequence of pushed and popped operations in two stacks.
1056. Create a function to check if an array can be sorted using a stack and a queue.
1057. Write a program to implement a stack that supports both push and pop in O(1) time, and find the median in O(1).
1058. Design a stack-based approach to simulate a tournament bracket system.
1059. Implement a function to find the maximum value in each sliding window of size k using a stack.
1060. Write a program to simulate a sequence of stack operations based on a given log file.
1061. Create a function to reverse the order of elements in multiple stacks simultaneously.
1062. Write a program to find the minimum spanning tree of a graph using a stack.
1063. Implement a function to simulate a real-world elevator system using stacks to handle requests.
1064. Write a program to implement a stack that supports finding the maximum element in O(1) time.
1065. Design a function to calculate the area of the largest rectangle that can be formed under a histogram using a stack.
1066. Create a stack-based function to evaluate expressions with multiple levels of nested parentheses.
1067. Write a program to simulate a stack-based memory allocation system.
1068. Implement a function to check whether two strings are anagrams using a stack.
1069. Write a program to implement a stack that can reverse the order of digits in a number.
1070. Design a function to calculate the result of a postfix expression with multiple operators using a stack.
1071. Write a program to simulate the management of an undo history in a text editor using multiple stacks.
1072. Create a function to validate whether a sequence of stack operations leads to a particular output.
1073. Write a program to implement a stack that supports merging with another stack.
1074. Implement a function to find the nearest smaller elements for each element in a circular array using a stack.
1075. Write a program to simulate a multi-level stack system used for managing resources in an operating system.
1076. Create a function to convert an arithmetic expression in infix notation to prefix notation using a stack.
1077. Write a program to simulate a stack-based calculator that supports variable assignment.
1078. Implement a function to evaluate an expression with mixed operators and parentheses using a stack.
1079. Write a program to reverse the order of the words in a paragraph using multiple stacks.
1080. Create a function to solve the problem of finding the next greater element in a circular array using a stack.
1081. Write a program to implement a stack-based approach for managing memory allocation in a simple operating system.
1082. Implement a function to merge two sorted stacks into a single sorted stack.
1083. Write a program to simulate a browsers tab navigation history using multiple stacks.
1084. Create a function to calculate the maximum depth of a nested set of parentheses in a given string using a stack.
1085. Write a program to implement a stack that supports random access to any element in O(1) time.
1086. Implement a function to reverse a stack recursively without using any auxiliary data structures.
1087. Write a program to simulate a ticketing system that uses a stack for managing customer requests.
1088. Create a function to convert a postfix expression to infix notation using a stack.
1089. Write a program to implement a stack-based approach for solving the problem of rainwater trapping.
1090. Design a function to evaluate a boolean expression using a stack and multiple operators.
1091. Implement a stack to handle the precedence of operations in an arithmetic expression.
1092. Write a program to simulate the flow of nested function calls using a stack.
1093. Create a function to implement a multi-level undo/redo operation in a word processor using stacks.
1094. Write a program to evaluate a postfix expression with support for multiple levels of parentheses.
1095. Implement a stack to perform a depth-first search (DFS) on a tree and store the traversal order.
1096. Write a program to simulate an undo/redo operation in a drawing application using stacks.
1097. Create a function to merge k stacks into one sorted stack using a priority queue.
1098. Write a program to implement a stack-based approach for finding the minimum element in each sliding window.
1099. Implement a function to reverse every other group of k elements in a stack using recursion.
1100. Write a program to simulate a stack-based approach for managing the call stack of a recursive function.
Previous
1
2
3
...
20
Next
More Levels
Beginner
Advanced
Aniket The Programmer
This website is managed by aniket the programmer :)
Website
Instagram