N26 Interview Question

Coding challenge in Java