For scheduling jobs with given deadlines and profits on prompt completion,a greedy algorithm is suggested to maximize profits from all feasible sets of task.
However,the programmatic implementation recommended is disjoint set forests.
I have not been able to find any literature which demonstrates this implementation(easy enough for a non computer science/mathematical background).
Any reference to such a programming language agnostic implementation would be appreciated.