re: Daily Challenge #53 - Faro Shuffle VIEW POST

FULL DISCUSSION
 

My solution in js

const faroShuffle = (cards) => cards.slice(0, (cards.length / 2)).flatMap((card, index) => [card, cards[index + (cards.length / 2)]]);
code of conduct - report abuse