Amazon Interview Question

Monitor temperature and return max, min and avg for parameters - location, temperature given