Anyone have an idea to use Java to implement this one?
Anonymous User
108

Input 3, Output 1, 2, 3, 12, 13, 23, 123 Output order does not required.
It's like a permutation but the formal digit must less than the later digit.
for instance, 23, 2 is less than 3. 123, 1 less than 2 and 2 less than 3.

Comments (1)