Pregunta de entrevista de Persistent Systems

write python list based like frequency type