Frage im Vorstellungsgespräch bei Jio

Write a Python function to find the most frequent element in a list.