Two Stacks | Stack | C++ Solution
Two Stacks, is a Stack related problem and in this post we will see how we can solve this challenge in C++
Implement a DS such that there are two stacks using a single array supported op:push1,push2,pop1,pop2
Please check the main.cpp snippet for the solution.
This solution originally posted at: Github by @susantabiswas