Big function

Report a typo

Create a function called bigFunction that takes two arguments:

  1. An integer (Int).
  2. Another function that takes two integers (Int) as arguments and returns an integer (Int).

Your bigFunction should return a function ((Int) -> Int) that transforms the second argument function so that it takes a single argument instead of two arguments.

Write a program in Kotlin
class Solution {


}
___

Create a free account to access the full topic