Amazon Interview Question

Shuffle of cards