+ 22

🃏Card Snap [Challenge]🃏

/* Hey Shuffle 52 cards and run through the deck to find out how many snaps/pairs there are in the deck as follows. first 20 cards of a shuffled deck. A,A,3,4,2,6,8,8,8,8,J,J,K,A,6,Q,Q,Q,A,4 running through the deck to find pairs in order. snap 1 was AA snap 2 was 88 snap 3 was 88 snap 4 was JJ snap 5 was QQ Challenge by D_Stark */

4th Feb 2018, 11:08 PM
D_Stark
D_Stark - avatar
9 Réponses
6th Feb 2018, 7:10 AM
LukArToDo
LukArToDo - avatar
+ 15
https://code.sololearn.com/cLjUoS6I0JR9/?ref=app
13th Feb 2018, 6:58 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
8th Feb 2018, 6:54 AM
AZTECCO
AZTECCO - avatar
+ 10
https://code.sololearn.com/WZkdjMboYr2A/?ref=app
5th Feb 2018, 4:26 PM
K137(){/**/};
K137(){/**/}; - avatar
6th Feb 2018, 9:05 AM
Käzî Mrîdùl Høssäîn
Käzî Mrîdùl Høssäîn - avatar
+ 8
https://code.sololearn.com/cFRm7uZD5Ht1/#py
5th Feb 2018, 8:19 PM
Pedro Demingos
Pedro Demingos - avatar
6th Feb 2018, 2:22 PM
Cépagrave
Cépagrave - avatar
+ 5
Might be really late, but it's short. https://code.sololearn.com/cqtMQSj7JHP0/?ref=app
8th Feb 2018, 4:55 AM
LunarCoffee
LunarCoffee - avatar