Creating custom compare and priority functions in C++
May 8, 2021 · 5 min read · In this article we will be discussing how to implement custom comparator functions in C++ Sort STL and custom priority functions in C++ priority queues. To facilitate easier understanding, I have picked up a problem from LeetCode which could be solve...
Join discussion



