Introduction - If you have any usage issues, please Google them yourself
Series by entering the number of compartments n, the resulting output to derive all possible n the length of the train line, using the stack method入栈to achieve train scheduling, and presentation of each sequence of the stack process. Tasks: the assumption that stopped at the railway station at the entrance to the train scheduling series of numbers followed by 1,2,3, ... n. Design a procedure to derive all the possible length of the resulting output for n series of compartments.