Complying with JavaScript Standard Style (npx standard --fix).

This commit is contained in:
Eric Lavault
2021-10-11 15:49:24 +02:00
parent 87a3da7e37
commit df4a783b06
22 changed files with 28 additions and 42 deletions

View File

@ -18,7 +18,7 @@ const swap = (arr, i, j) => {
}
const permutations = arr => {
let P = []
const P = []
const permute = (arr, low, high) => {
if (low === high) {
P.push([...arr])