Paytm Labs interview question

Deck of cards representation in JavaScript