Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
one line solution in Creative category for [old] Zigzag Array by artee2025
let createZigzag = (rows, cols, start=1) => Array(rows).fill(0).map((e,i)=>Array(cols).fill(0).map((ee,ii)=>ee*cols+(start++))).map((e, i)=> i%2==0?e:e.reverse());
May 11, 2019
Comments: