Chegg’s current mobile application helps students search for, rent, and read textbooks on the go. As a new feature, Chegg is thinking about allowing students to input different classes in order to identify any scheduling conflicts. This would be a great way to test combinations of potential classes each semester!
Using the attached class schedules as your dataset, write up an algorithm that would take a few inputs (# of classes you’d like to take, and the names of classes you’re considering) and return groups of courses that fit properly on a schedule. Write the algorithm in any language you’d like, or feel free to write in pseudocode. Regardless of how you choose to write it up, please also include a brief paragraph discussing which programming language you think would be the best option for this task.