Pregunta de entrevista de Samsung Electronics

Write a card deck and do a shuffle.