miniblog.
← Back to all posts
Wilfred Hughes
Oct 1, 2016 at 05:14
How do you calculate the length of a singly-linked list that may be cyclic? CLHS includes a nice implementation:
https://clhs.lisp.se/Body/f_list_l.htm