Post Reply 
is_cycle?
07-19-2018, 04:36 PM (This post was last modified: 07-19-2018 05:46 PM by parisse.)
Post: #2
RE: is_cycle?
is_cycle returns 0 if the list contains a negative value or if a value is not unique (by the way, I just realize that the algorithm for checking that should be improved, it is currently in O(n^2)).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
is_cycle? - John Keith - 07-19-2018, 01:32 PM
RE: is_cycle? - parisse - 07-19-2018 04:36 PM
RE: is_cycle? - John Keith - 07-19-2018, 09:10 PM



User(s) browsing this thread: 1 Guest(s)