Binary Search

How To Find The Kth Smallest Element in a Sorted Matrix

Three C++ approaches for Leetcode 378. Kth Smallest Element in a Sorted Matrix. An interesting example for std::priority_queue, std::upper_bound, and the binary search.