Pregunta de entrevista de Hummingbird Web Solutions

Q. cards problem from freecodecamp.