Kth smallest element in sorted matrix

后端 未结 9 2212
被撕碎了的回忆
被撕碎了的回忆 2020-12-23 14:43

This is an interview question.

Find the Kth smallest element in a matrix with sorted rows and columns.
Is it correct that the Kth small

9条回答
  •  清酒与你
    2020-12-23 15:27

    Seems this just uses the feature: every row is sorted, but not use its column-wise sorted feature.

提交回复
热议问题