Devise an algorithm to prevent class conflicts

Tell a friend:
share on facebook
share on linkedin send message

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!

5 winners
5 honors
solutions received
84 people
following this challenge
Small pic conflicts

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.

Additional Materials:
Questions & Comments (0)

New Challenges

Contact Us!