Amazon Interview Question

One simple and one complex coding question.