Amelia Interview Question

It was not complex