|
Data Structures and Algorithms
with Object-Oriented Design Patterns in C# |
(, ), [, ], , and .
We say that S is balanced if it has one of the following forms:
public class MultipleStack : Container
{
public MultipleStack(int numberOfStacks);
public void Push(object object, int whichStack);
public object Pop(int whichStack);
// ...
}