"detection" by checking for possible cycles or knots.
<em><u>Your</u></em><em><u> </u></em><em><u>question</u></em><em><u> </u></em><em><u>is</u></em><em><u> </u></em><em><u>incomplete</u></em><em><u>.</u></em>
<em><u>hope</u></em><em><u> </u></em><em><u>its</u></em><em><u> </u></em><em><u>helpful</u></em><em><u>.</u></em>