Pergunta de entrevista da empresa Ocient

The HackerRank asked me to design an aggregate function that took in a column (a list) as input and outputted its aggregate (min, max, count, mean, sum). Then the parts after will build on it.