Pergunta de entrevista da empresa Tata Consultancy Services

how to find the frequency of elements in the given list using 3 different methods?