Pregunta de entrevista de JPMorganChase

Coding dsa python coding is asked