THE FLOY'S ALGORITHM FOR CYCLE DETECTION
1/Explaining how to creat a linked list that have a loop:
-the second call to the function:
-The third call to the function:
-After run the command:Head->next->next->next->next->next->next = k;
2/ How do this Algorithm work ?
3/FULL CODE












Không có nhận xét nào:
Đăng nhận xét