Curriculum Design
Problem Hyeonsu must plan a one-year course. There are compulsory subjects in class. These compulsory courses must be completed, and the order is set. If there are total subjects A, B, C, D, E, F, G, and the compulsory subjects are given as CBA, the compulsory subjects are C, B, and A subjects, and…