This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
class Permutation { | |
public static void main(String[] args) { | |
String[] dayHoursList = new String[]{"4", "4", "4", "4", "4", "?", "?"}; | |
int maxDayHours = 8; | |
int weekHours = 28; | |
List<String> results = getPermutation(dayHoursList, maxDayHours, weekHours); | |
for(int i = 0; i < results.size(); i++) { | |
System.out.println(results.get(i)); |