-
-
Save ssartell/939d281652568aea6d3c6dedaffbd0af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* LINQ Puzzle #9 ******************************************************* | |
Description: Given a "deck" (i.e. a collection of integers) perform a standard card shuffle. Split the deck in half and riffle the cards uniformly together. | |
Sample Input: {1, 2, 3, 4, 5}; | |
Sample Output: {1, 4, 2, 5, 3}; | |
************************************************************************/ | |
// Given: | |
var input = Enumerable.Range(1, 15).ToList(); | |
// Your solution goes here: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment