Assigsnment 1 B
Assigsnment 1 B
Implementation of
two Stacks should use only one array, i.e., both stacks should use the same array
for storing elements. Following functions must be supported by two Stacks.
twoStacks.push1(10);
twoStacks.push1(20);
twoStacks.push2(30);
twoStacks.push2(40);
twoStacks.push2(50);