Amazon Interview Question: Java questions... | Glassdoor