Dependency-safe deletion order
Entities have parent-child relationships, and the relationships limit what can be deleted when. Model the relationships as a graph and return an order that deletes everything without breaking a constraint, or detect that no such order exists.
No answer yet. Write the first one; the best answer gets endorsed.
