You are given a deck containing n cards
From time to time, it’s good to sharpen ones skills by doing a puzzle or two. Personally, I enjoy reviewing interview questions. They provide me with both experience with interview questions, and often fun subtle tricks. The problem I found today was probably one of my favorites[1]: You are given a deck containing n cards. […]