Amazon Interview Question

They asked me to solve three Hackerrank coding problems.