Paytm Labs Interview Question

Deck of cards representation in JavaScript