https://practice.geeksforgeeks.org/problems/job-sequencing-problem/0