Pregunta de entrevista de KFintech

Introduction, then simple coding problem. Then question based on Project.