We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6ff930 commit 7a8bda6Copy full SHA for 7a8bda6
C++/kth-largest-element-in-an-array.cpp
@@ -22,7 +22,7 @@ class Solution {
22
return;
23
} else if (pivot_left > n) {
24
right = pivot_left - 1;
25
- } else { // mid_right < n.
+ } else { // pivot_right < n.
26
left = pivot_right + 1;
27
}
28
0 commit comments