Process Your Hierarchy Data

Enter node relationships to detect cycles, build tree structures, and analyze depth. Built for the SRM Full Stack Engineering Challenge.

Separate entries with commas or newlines (e.g., A->B, A->C, B->D)