Amazon Interview Question

Data analysis of given data