Why Spark is faster than MapReduce?


Answer: The main difference between Spark and MapReduce is that Spark processes and retains data in memory for subsequent steps, whereas MapReduce processes data on disk.