Challenge 2: Implement Two Stacks Using One Array
Can you implement two stacks using a single array?
We'll cover the following...
Problem statement
Implement the following functions to implement two stacks by using a single array to store elements. You can make changes to the constructor as well. A solution is placed in the solution section for your help, but it is suggested that you ...