1)Suppose you write a program that models a card deck. Cards aretaken from the top of the deck and given out to players. As cardsare returned to the deck, they are placed on the bottom of thedeck. Would you store the cards in a stack or a queue?
2)Suppose the strings “A” . . . “Z” are pushed onto a stack.Then they are popped off the stack and pushed onto a second stack.Finally, they are all popped off the second stack and printed. Inwhich order are the strings printed?
3)What is the difference between a set and a map?
4)How can you compute
PayPal Gateway not configured
PayPal Gateway not configured