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 February 19, 2024 12:30
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