AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Stack-question / Level: Advanced
461. Implement a function to find the number of pairs of elements in a stack that sum to a target value.
462. Write a function to check if a stack can be sorted using a single auxiliary stack.
463. Implement a function to find the longest balanced substring of parentheses.
464. Write a function to create a stack from an array.
465. Implement a function to evaluate a postfix expression with multiple operands.
466. Write a function to find the maximum area of a rectangle in a histogram using a stack.
467. Implement a function to calculate the product of all elements in a stack.
468. Write a function to check if a given stack can be sorted with another stack.
469. Implement a function to find the maximum depth of nested parentheses using a stack.
470. Write a function to generate all possible subsets of a given set using a stack.
471. Implement a function to find the longest common substring using a stack.
472. Write a function to check if a given stack is a palindrome.
473. Implement a function to perform a postorder traversal of a binary tree using a stack.
474. Write a function to evaluate a complex expression using a stack.
475. Implement a function to create a stack that supports range queries.
476. Write a function to find the maximum difference between any two elements in a stack.
477. Implement a function to check if a stack can be sorted using a single auxiliary stack.
478. Write a function to find the longest increasing subsequence of integers in a stack.
479. Implement a function to generate all possible permutations of a string using a stack.
480. Write a function to find the total number of valid configurations of a stack.
481. Implement a function to create a stack that supports conditional operations.
482. Write a function to find the longest substring of unique characters in a stack.
483. Implement a function to check if a stack can be sorted with limited operations.
484. Write a function to evaluate an expression in postfix notation with error handling.
485. Implement a function to create a stack of strings and sort it lexicographically.
486. Write a function to find the smallest element that appears more than once in a stack.
487. Implement a function to calculate the maximum depth of nested expressions using a stack.
488. Write a function to generate all unique permutations of a string using a stack.
489. Implement a function to find the smallest prime factor in a stack of integers.
490. Write a function to find the longest valid parentheses substring using a stack.
Previous
1
2
3
4
5
6
7
Next
More Levels
Beginner
Intermediate
Most Visited
Implement a function to find the minimum height of a binary tree using a stack.
Write a function to find the largest element in a stack.
Write a function to find the longest sequence of consecutive numbers in a stack.
Implement a function to find the longest balanced substring of parentheses using a stack.
Implement a function to sort a stack using recursion.
Write a function to reverse a stack using recursion.
Implement a function to check if a stack can be sorted with a single auxiliary stack.
Implement a function to insert an element at the bottom of the stack.
Implement a function to calculate the Fibonacci series using a stack.
Implement a function to interleave two stacks.
Write a function to remove the last element from a stack.
Write a function to find pairs of elements that sum to a specific value in a stack.
Write a function to evaluate a mathematical expression in postfix notation with error handling.
Implement a function to find the middle element of a stack in O(1) time.
Implement a stack using an array.