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

A min-max-median heap, I would assume.


Yep, that. Just a bit more fiddly than a min-max heap, and though I rarely actually need the median functionality, fiddly is a pro for learning a language at times.




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

Search: