Pregunta de entrevista de Luciq

How you handled the case X in your task