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

I haven't touched C in the better part of a decade but the algorithm seemed straightforward to me. I'll fake it with some pseudo-C:

http://pastebin.com/UpLNgxKC

Note: I read the entire thread several hours before making this attempt so my results don't represent a good lab environment. Please let me know if I made any major errors.



Please email it using the instructions - I've got too many submissions to go chasing them by hand.

Thanks.


Done! Thanks for taking the time to read this. My hope in posting the pastebin link was that other commenters might chime in if they saw glaring errors.




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

Search: