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

I remember on olympiads one trick that I though was brilliant out-of-the-box thinking was to shuffle input before sorting to avoid worst-case-prepared inputs.


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

Search: