Pregunta de entrevista de innoscripta

Solve a given problem. Questions were a list of logical problems like from leetccode