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

I really like sleepsort and sometimes ask interviewees to implement it during interviews. In JavaScript, its simple to implement and reinforces the asynchronous nature of the language. Its fun and usually gets a good laugh.


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

Search: