fa24-cs300 cs300
README README
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readP06 - Calculating Partitions
Overview
Learning Objectives
Additional Assignment Requirements and Notes
Need More Help?
CS 300 Assignment Requirements
Getting Started
1. Provided Starter Code
1.1 Partition class
1.2 Tester Utility class
2. Calculating Partitions of N
2.1 Definitions
2.2 [Problem 1] - Count the number of Partitions
Given a value N, return the total number of partitions for that value N.
public static int numOfPartitions(int N)
2.3 [Problem 2] - Calculate all of the Partitions
Given a value N, return all of the partitions for that value N.
public static ArrayList calculatePartitions(int N)
2.4 [Problem 3] - Calculate all permutations of Partitions
Given a set of all partitions for value N, return all permutations of each partition given.
public static ArrayList calculateAllPermutations(ArrayList partitions)
2.5 Tips & Hints
3. Testing
3.1 On Fuzz Testing
3.1.1 Fuzz Testing numOfPartitions()
3.1.2 Fuzz Testing calculatePartitions()
Assignment Submission
Copyright notice