Skip to content

sarahob/card-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Card Flipping Challenge

For a given range generate an array of cards.

Each card can be in one of two states: 1 (face up) or 0 (face down).

If a card is face up we can remove it from the list (update to be '.'), we must flip it's adjacent cards (if any).

Continue until the table is cleared.

Inspired by reddit daily programmer challenge

About

Card algorithm recursive solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published