Amazon Interview Question

stuff about OOP and problem solving