Amazon Interview Question: asked to write the programs o... | Glassdoor