This is a maximisation problem, solved using the greedy method, where we need to allocate jobs within specified deadlines to make a max profit. You can find [the lecture here](https://www.youtube.com/watch?v=zPtI8q9gvX8). The recordclass module Please note i’m using the third-party module [recordclass](https://pypi.org/project/recordclass/), as a mutable named tuple. recordclass is extremely handy…