Detailed Question: Use only R programming language:
If twenty-seven students are to be assigned to groups of three for each problem set, and no student can be assigned to the same group as a student whom he or she has previously worked with, how many problem sets can Dr Lee assign? Extend the function assignGroup in (b) to generate the groups as described for the maximum number of problem sets Dr Lee can assign.