摘要: 用1,2,3,4四个数字,组成没有重复数字的四位数的个数是:4!也就是24个。其他的比如1,2,3,4,5的组合是5!具体的算法如下:(用递归的方法来解答的) Int32[] num = { 1, 2, 3 ,4}; IList<Int32> lists = num.ToList<Int32>(); IList<Int32> results = new List... 阅读全文
posted @ 2010-11-09 14:47 chenping2008 阅读(5257) 评论(0) 推荐(0) 编辑