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 760010e commit 52f8bb8Copy full SHA for 52f8bb8
palindrome/min-adjacent-swap.js
@@ -36,8 +36,6 @@ const minAdjacentSwap = (str) => {
36
}
37
const first = arr[i];
38
const subarr = arr.indexOf(first, i+1);
39
- console.log('arr', arr);
40
- console.log('First', first, subarr);
41
// Start swapping from where is find the element.
42
// if (subarr > -1) {
43
// if (i === j) {
0 commit comments