Hacker News new | ask | show | jobs
by swirepe 1990 days ago
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?
1 comments

Apparently their answer is “five times”.
Well, twice at least.

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