Google screening round- Job scheduling
Anonymous User
7463

Given a set of jobs array and max number of cpus, where each job object contains 3 props {starttime,duration,numberofCpusNeeded}, write a function which returns true if the jobs can be executed with the given max cpus else return false even if one job can't be executed?

Would appreciate solutions for this.
JavaScript or pseudo code

Comments (14)