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

Say you need a binary heap to hold some customer records, and another binary heap to store some orders. How many times do you implement a binary heap?


Apparently their answer is “five times”.


Well, twice at least.

I don't know why you're all so scared of a little repetition ;)




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

Search: