Functional programming is a programming paradigm in which we try to solve everything in a pure mathematical functions style. It is a declarative type of programming style. Its main focus is on “what to solve” in contrast to an imperative style where ...