Question: The CSE 3 7 3 / MAT 3 7 3 final exam will ask you only True / False questions! 1 There will be n
The CSE MAT final exam will ask you only TrueFalse questions! There will be n questions divided into m in n categories with exactly ni questions in category k in mso n Pkm nk Those n questions will be chosen by the TAs from a question bank containing N n questions. For i N the ith question in the question bank has mi in m category numbers assigned to it meaning that if the question is included in the final exam it must be placed under exactly one of those mi categories in the exam.
Design an efficient algorithm that, given the parameters and the question bank described above, can tell the TAs if it is possible to choose n questions from the question bank under the constraints given above. If n questions can indeed be chosen, the algorithm must also find one such set of n questions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
