sachinsingh3232 / Hactoberfest

Repository for hacktoberfest 2022
16 stars 184 forks source link

Solve Job Sequencing Problem #142

Closed xenacro closed 2 years ago

xenacro commented 2 years ago

Problem Statement: You are given a set of N jobs where each job comes with a deadline and profit. The profit can only be earned upon completing the job within its deadline. Find the number of jobs done and the maximum profit that can be obtained. Each job takes a single unit of time and only one job can be performed at a time.