Pregunta de entrevista de RecordPoint

Solving many coding question in limited time.