Daily Challenge (245 Part Series)
To faro shuffle a deck of playing cards is to split the deck exactly in half, then perfectly interweave the cards, such that the original top and bottom cards are unchanged.
Write a function that accepts a even-numbered list and faro shuffles the indices.
Faro shuffling the list:
['ace', 'two', 'three', 'four', 'five', 'six']
['ace', 'four', 'two', 'five', 'three', 'six']
Good luck, happy coding!
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!