Dependency-Safe Deletion Order
Company: Google
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Onsite
Overview: Return the lexicographically smallest child-before-parent deletion order under additional precedence constraints, or detect a cycle.