Introduction - If you have any usage issues, please Google them yourself
c, c++ realization of monotone sequences of problem: Given a positive integer n, find the set of the n integers {1,2,3, ..., n-1, n} all the permutations in the number of monotone sequences.