输出如下:
1->3->2->4->5-> 5->4->2->3->1-> 3 2 L hasn't cycle L has cycle! the length cycle is 4 the entry is 4
1->3->2->4->5->
5->4->2->3->1->
3
2
L hasn't cycle
L has cycle!
the length cycle is 4
the entry is 4
乐此不疲~
Lei