Please read the new rule regarding the restriction on the use of AI tools. ×

Some standard problems of stack and queue, with the solution link of my github repository.
Difference between en1 and en2, changed 12 character(s)
#### Stack & Queue↵

1. [G_Next Greater Element ](https://practice.geeksforgeeks.org/problems/next-larger-element-1587115620/1) [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/G_Next%20Greater%20Element.cpp)↵
2. [I_Nearest Smaller Element](https://www.interviewbit.com/problems/nearest-smaller-element/) [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/I_Nearest%20Smaller%20Element.cpp)↵
3. [Nearest Smaller to right](https://practice.geeksforgeeks.org/problems/fab3dbbdce746976ba35c7b9b24afde40eae5a04/1/) [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/G_Help%20classmates.cpp)↵
4. 
**[G_Stock span problem](https://practice.geeksforgeeks.org/problems/stock-span-problem-1587115621/1/)** [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/G_Stock%20span%20problem.cpp)↵
5. 
**[I_Largest Rectangle in Histogram](https://www.interviewbit.com/problems/largest-rectangle-in-histogram/)** [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/I_Largest%20Rectangle%20in%20Histogram.cpp)↵
6. 
**[I_Max Rectangle in Binary Matrix](https://www.interviewbit.com/problems/max-rectangle-in-binary-matrix/)** [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/I_Max%20Rectangle%20in%20Binary%20Matrix.cpp)↵
7. [L_155. Min Stack](https://leetcode.com/problems/min-stack/) [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/L_155.%20Min%20Stack.cpp)↵
8. [G_Min Stack without extra space](https://practice.geeksforgeeks.org/problems/get-minimum-element-from-stack/1/#) [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/G_Get%20minimum%20element%20from%20stack.cpp)↵
9. [L_225. Implement Stack using Queues](https://leetcode.com/problems/implement-stack-using-queues/) [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/L_225_Implement%20Stack%20using%20Queues.cpp)↵
10. [L_232. Implement Queue using Stacks](https://leetcode.com/problems/implement-queue-using-stacks/) [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/L_232_Implement%20Queue%20using%20Stacks.cpp)↵
11. [L_20. Valid Parentheses](https://leetcode.com/problems/valid-parentheses/) [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/L_20.%20Valid%20Parentheses.cpp)↵
12. [L_146. LRU Cache](https://leetcode.com/problems/lru-cache/) [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/L_146.%20LRU%20Cache.cpp)↵
13. [L_460. LFU Cache](https://leetcode.com/problems/lfu-cache/) [_Solution_](https://github.com/Jawed-byte/Striver-s-SDE-sheet/blob/main/L_460.%20LFU%20Cache.cpp)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English jawed-byte 2023-11-08 17:03:57 12
en1 English jawed-byte 2023-11-08 09:57:30 2772 Initial revision (published)