Pregunta de entrevista de V2 Technologies

Coding question in python. And then HR round