Data Structure: Stack and Queue Implementation


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


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


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