Hacker News new | past | comments | ask | show | jobs | submit login

I can't get past the `size_t i` rather than `int i` in the first loop. Why. I suppose it is some type of defensive programming.



Bit flip changes an int to a large negative value. Now you're stuck doing a signed comparison for a while.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: