package correct_java_programs; import java.util.*; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author derricklin */ public class SUBSEQUENCES { public static ArrayList subsequences(int a, int b, int k) { if (k == 0) { ArrayList empty_set = new ArrayList(); empty_set.add(new ArrayList()); return empty_set; } ArrayList ret = new ArrayList(50); for (int i=a; i