Data Structure: Stack and Queue Implementation


#1

What is the maximum number of dynamic stacks which can be implemented using a single array?


#2

I think it should be equal to the array length itself (Say N). We can have N stacks each of size limit 1.


#3

It depends on the size of the array,array size may be of any size lets say N.so N number of stacks can be implemented.