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

The only reason we need to point to N-1 is to get access to its next pointer for doing deletes (in my case where I never scan the list backwards). So rather than point to N-1 it suffices to point directly at its next pointer.


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

Search: