Implement this in scala programming using 4 versions: iterative,recursive, tail-recursive and map-filter-reduce version: Write afunction that returns true if any element in a list satisfies agiven predicate. The predicate is a parameter of typeT=>Boolean.
Expert Answer
An answer will be send to you shortly. . . . .