Proper Shuffle solutions

Proper Shuffle was solved using PHP by 1 contestant.