Altimetrik Interview Question

Design and implement a solutions based on the given scenario.