Samsung Electronics interview question

Write a card deck and do a shuffle.