Yahoo Interview Question

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