Pergunta de entrevista da empresa Persistent Systems

write python list based like frequency type