Daily Challenge (161 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!
As software gets more and more integrated into our lives, the industrialization of its crafting process becomes inevitable. But the over-generalization of software engineering can be crushing the creative side of programming.