We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf3f59 commit 27e7f7dCopy full SHA for 27e7f7d
src/main/java/com/fishercoder/solutions/_378.java
@@ -4,28 +4,6 @@
4
import java.util.Collections;
5
import java.util.List;
6
7
-/**
8
- * 378. Kth Smallest Element in a Sorted Matrix
9
- * Given a n x n matrix where each of the rows and columns are
10
- * sorted in ascending order, find the kth smallest element in the matrix.
11
-
12
-Note that it is the kth smallest element in the sorted order, not the kth distinct element.
13
14
-Example:
15
16
-matrix = [
17
- [ 1, 5, 9],
18
- [10, 11, 13],
19
- [12, 13, 15]
20
-],
21
-k = 8,
22
23
-return 13.
24
25
-Note:
26
-You may assume k is always valid, 1 ≤ k ≤ n2.
27
- */
28
29
public class _378 {
30
public static class Solution1 {
31
/**
0 commit comments