Re:Data structures and algorithms problems in C++ using STL
by anilshanbhag on Friday March 10, 2017 @08:55AM
(#13838553)
Just looked at the kth largest algorithm and author claims max heap method is k log n ! His method is actually n log n. The min heap is n log k and the right way to do it.
[ Parent
| on HN ]