There are 100 face-down cards. The first person that passes by flips over every card, the 2nd person that passes by flips over every 2nd card, and so forth – the n-th person that passes by flips over every n-th card. Before you know it, 100 people have passed by.
After all 100 people have passed by, which cards are face-up and which are face-down?
Fun fact, this was an actual brainteaser given to me in the first round interview for a hedge fund internship back in 2011.
Preparing for a brain teaser interview? Check out our ultimate guide to brain teaser interviews.
Continue reading “Flipping Every N-th”