Amazon Interview Question

Mostly technical deep dive inside