Assignment finished - Completed Main and Bonus exercises #1

Merged
peyman merged 10 commits from develop into main 2026-04-25 21:48:14 +00:00
Showing only changes of commit aa6cdc766d - Show all commits
+4
View File
@@ -150,6 +150,10 @@ public class MainExercises
public int[][] intPartitions(int n) {
if(n == 1){
return new int[][]{{1}};
}
ArrayList<int[]> result = new ArrayList<>();
int[] current = new int[n]; // current partition, to be built