Pregunta de entrevista de Snap

Design and write code for a given practical scenario related to snaps.