[Jprogramming] Listing combinations

David Vaughan purpleblues13 at googlemail.com
Wed Sep 28 08:50:32 HKT 2011


How could I list all combinations of x!y?

e.g. 2!3 = 3, and the combinations are (1,2), (1,3), (2,3).

Thanks.


More information about the Programming mailing list