Question: Model the scenario using a graph: Your job is to arrange n ill-behaved children in a straight line, facing front. You are given a list

Model the scenario using a graph: Your job is to arrange n ill-behaved children in a straight line, facing front. You are given a list of m statements of the form i hates j. If i hates j, then you do not want put i somewhere behind j,because then i is capable of throwing something at j
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
