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.
|Top 5 share 7500.0||Next 5 share 2500.0|
|1500||Yingjie Hu University of California, Santa Barbara|
|500||Jonathan Miller Harvard University|
|1500||Michael Peirce Rice University|
|500||Mir Asif Asgar University of Wisconsin|
|500||Carolyn Shuford Rice University|
|1500||Walker Mills California Institute of Technology|
|1500||Seth Lauer Rice University|
|500||David Ju University of California at Berkeley|
|500||Janice Lan Stanford University|