java - What is an efficient algorithm to find whether a singly linked list ...

java - What is an efficient algorithm to find whether a singly linked list ...

瀏覽:529
日期:2025-05-30
For Example 1 3 5 71 45 7 5 -stop , its a circular linked list ... Do you need to check only for purely circular (ie. the last element points back to ......看更多