Arrays Graph Theory Javascript Tree How To Detect A Loop In A Hierarchy Of Javascript Elements January 24, 2024 Post a Comment I have a list of elements, each has an ID and a parent ID. What I want to do is detect when there i… Read more How To Detect A Loop In A Hierarchy Of Javascript Elements