Teradata Interview Question

Package dependency problem (i.e. topological sort)