jacktrades/SRFI-1-in-Javascript — Issue #2: is_circular_list does not detect all types of circular lists
Author: jacktrades
Created: 2011-12-12 22:20:11+00:00
State: open

The current algorithm will only return true for circular lists where the tail points to the head of the list, and not for circular lists where the tail points to an arbitrary position in the list. This should be implemented using Floyd's/Brent's cycle finding algorithms.