Description: Suppose a storage structure order implement a two-way stack, that is, the one dimensional array of storage space has two stack, they are located in the bottom of the stack of the array of two endpoints. Try to write to realize the two-way stack of Tws three operation: the initial inistack (Tws), into the stack push (Tws, I, x) and the stack pop (Tws, I) algorithm, which I 0 or 1, respectively in an array or so for instructions on both ends of the two stack.
To Search:
File list (Check if you may need any files):
2037.CPP