Daily iOS
SwiftCapital One

Combining higher-order functions

Take ["a", "b", "c"] as input and produce ["c-0", "b-1", "a-2"]. You can't use a for loop, only higher-order functions. Which functions would you combine, and in what order?

Submit