We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12c18de commit 8664431Copy full SHA for 8664431
C++/minimum-operations-to-make-subarray-elements-equal.cpp
@@ -1,7 +1,7 @@
1
// Time: O(nlogk)
2
// Space: O(k)
3
4
-// math, sliding window, two pointers, bst
+// math, two pointers, sliding window, bst
5
class Solution {
6
public:
7
long long minOperations(vector<int>& nums, int k) {
0 commit comments