JS Version:
node shuffleDeck.js N --- run program
CPP Version:
make all --- compile project
make clean --- clean project
./bin/shuffle N --- run program
Algorithme:
Doubly LinkedList:
Structure of the deck :
Deck {
top card
bottom card
size of deck
}
Structure of the card :
Card {
previous card
next card
value of the card
}