Pergunta de entrevista da empresa Yahoo

What is the difference between reduce and group function in spark?