The Functional Part Don’t describe how to process the data using a loop instead have your code state what you want to happen. Use functional concepts to build nice observable streams: Map: transform one collection into another. Filter: filter one collection into a smaller collection. Reduce: take a collection and reduce it into a single…