It’s quite simple: construct new array, taking one card from position 0, second from N/2, third from 1, fourth from N/2+1, etc.
2
solved C# Shuffle with Arrays
It’s quite simple: construct new array, taking one card from position 0, second from N/2, third from 1, fourth from N/2+1, etc.
2
solved C# Shuffle with Arrays