Pregunta de entrevista de Certa (CA)

Python coding question using data structures and algorithms