Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've had one given as a thought experiement.

List as many different ways as you can for how to figure out if a singly list is broken and has a loop



Isn’t there only one way? Walk through it looking for a repeat?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: