LShift Interview Question

Functional programming.