zhichao.feng
Results
2
comments of
zhichao.feng
let arr = [2, 10, 3, 4, 5, 11, 10, 11, 20]; arr = Array.from(new Set(arr)).sort((a, b) => a - b); let start = 0; for(let i = 0; i...
> > > ``` > function poke(arr) { > let i = 1 > let out = [] > while (arr.length) { > if (i % 2) { > out.push(arr.shift())...