queue

A collection of 2 post

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…

Save the Princess

Problem The only daughter Princess of the neighboring country of the information kingdom has been captured by a monster in the forest. There are N princes in the information kingdom, and they both agree to go rescue the princess. The king of the information kingdom decides which prince to go to…