A student needs to take a certain number of courses to graduate,and these courses have prerequisites that must be followed. Assumethat all courses are offered every semester and that the studentcan take an unlimited number of courses per semester. Given a listof courses and their prerequisites, write an algorithm inpseudocode to computer a schedule that requires the minimum numberof semesters.
if possible do it in java pseudo code
Expert Answer
Answer to A student needs to take a certain number of courses to graduate, and these courses have prerequisites that must be follo…