Hello guys.I'm trying to make a C++ program to create a school schedule for every class in the school.I'm asking the user to entry how many classes of which subjects will be taken for each classroom.E.g Classroom 102 will take 6 hours of maths, 4 hours of chemistry etc. per week.After the user enters all these subjects and hours, i want to place them into schedules randomly and what i want to figure out is that what's gonna happen if two lessons are overlapped each other.How should i proceed from this moment? I'm open for any suggestions even if it is starting from scratch with a new algorithm.Thank you.