Skip to content

Commit 09af5b5

Browse files
committed
Runtime: 107 ms (Top 58.06%) | Memory: 12.5 MB (Top 32.26%)
1 parent c082e94 commit 09af5b5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/algorithms/M/Minimum Possible Integer After at Most K Adjacent Swaps On Digits/Minimum Possible Integer After at Most K Adjacent Swaps On Digits.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/*
1+
// Runtime: 107 ms (Top 58.06%) | Memory: 12.5 MB (Top 32.26%)
2+
/*
23
Time: O(nlogn)
34
Space: O(n)
45
Tag: Segment Tree, Greedy (put the possible feasible smallest index in place of cur index), Queue
@@ -80,4 +81,4 @@ class Solution {
8081
}
8182
return res;
8283
}
83-
};
84+
};

0 commit comments

Comments
 (0)