Altimetrik Interview Question

Basic design concepts, Coding in Javascript