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

What you are thinking of is probably that you can't erase elements (apart from the top element) from the priority queue.



No that wasn't it. It may have had to do with constraints on the types of values that the stdlib priority queue could hold.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: