Open jbgo opened 14 years ago
inputs: int group size --> gs array/arraylist/list of students --> sList bool prevent undersize groups --> pug
process: PRE-1 check if the student list is empty or null or if gs<1 - if true then return null
PRE-2 if gs == 1, create a group object and add all students to it and return it in a single element array
Very complete as is.
inputs: int group size --> gs array/arraylist/list of students --> sList bool prevent undersize groups --> pug
process: PRE-1 check if the student list is empty or null or if gs<1 - if true then return null
PRE-2 if gs == 1, create a group object and add all students to it and return it in a single element array