Skip to content

Instantly share code, notes, and snippets.

View Mr-LiuDC's full-sized avatar

Leo Mr-LiuDC

View GitHub Profile
@Mr-LiuDC
Mr-LiuDC / pipeline-syntax.gdsl
Last active November 19, 2024 10:15
GDSL supporting jenkins pipeline.
/**
* JENKINS_HOST/job/pipeline-job/pipeline-syntax/gdsl
* https://gist.github.com/Mr-LiuDC/8a1fbe27e8fbd42361185b06085ef4c3
*
* All pipeline steps can be found here: https://www.jenkins.io/doc/pipeline/steps/
*/
// The global script scope
def ctx = context(scope: scriptScope())
package alittler.cn.practice.algorithm;
import java.util.Arrays;
public class ArrangementAndCombinationTests {
/**
* 从n个数里取出m个数的排列或组合算法实现
*
* @author chengesheng