Domanda di colloquio di Yahoo

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