-
-
-
Recent Posts
Tweets
- Cracks me up every time 😂. A clock tick is different than well, a tick (a bug; no emoji for ticks). Nevertheless, I… twitter.com/i/web/status/1… 3 weeks ago
- std::time_point 💯en español / In Spanish Sabia virtud de conocer el tiempo... Ejemplo más amigables, actualizado… twitter.com/i/web/status/1… 3 weeks ago
- "It was so overwhelming that it broke the algorithm." A lawyer explaining voter fraud. SHE probably watched Ralph… twitter.com/i/web/status/1… 3 weeks ago
Blogs I Follow
Recent Comments
Lambdas en C++ | Se… on Boutique C++ Brij Bhushan on Hello world! If you build it, wil… on Singling out Singleton Look what the cat dr… on Boutique C++ Look what the cat dr… on Boutique C++ Archives
Categories
Meta
Category Archives: algorithms
Customizing Priority Queues in C++
A nifty feature of priority queues in C++ is that you can implement a max heap or a min heap by simply changing the compare type. For most purposes, std::less and std::greater can do the job, provided that you use built-in … Continue reading
Posted in algorithms, data structures, software
Leave a comment