LeetCode Question · Mar 2020 · Los Angeles

Facebook | Phone | Kth smallest sum of an MxN matrix with sorted rows

11 upvotes 2,922 views 12 replies

Question Details

Given an MxN matrix with its rows sorted in ascending order and an integer k. Define a sum S which consists of one element from each row. Find the kth smallest sum...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Matrix Heap