Amazon Interview Question

started with two technical questions timed assessment