# 自然数排列组合ListCombination **Repository Path**: superhigh/ListCombination ## Basic Information - **Project Name**: 自然数排列组合ListCombination - **Description**: 一组自然数的所有不重复排列组合 [1,2,3] (1,2) (1,3) (2,3) (1,2,3) 延伸:可以将自然数作为List集合的下标,对集合取所有不重复的组合 此算法中,没有取最小 1【(1),(2),(3)】 的 和 最大 Lenth(1,2,3,4) 的形式,因为比较简单 - **Primary Language**: C# - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-09-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 自然数排列组合ListCombination #### 项目介绍 一组自然数的所有排列组合 基本思路: 使用递归方法实现 最底层,保证是 长度为2 的一组数据 上层控制长度,递归最底层 #### 软件架构 .net Core 的C# #### 使用说明 本项目实现两种方法 1.Order:有序排列组合 [1,2,3] (1,2) (1,3) (2,3) (1,2,3) 延伸:可以将自然数作为List集合的下标,对集合取所有不重复的组合 此算法中,没有取最小 1【(1),(2),(3)】 的 和 最大 Lenth(1,2,3,4) 的形式,因为比较简单 2.Unorder:无序排列组合[1,2,3] (1,2) (1,3) (2,3)(2,1)(3,1)(3,2) (1,2,3)(1,3,2)(2,1,3)(2,3,1)(3,1,2)(3,2,1) #### 参与贡献 1. Fork 本项目 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request