Amazon Interview Question

3 coding problems of incremental complexity.