Amazon Interview Question

Tell me about your toughest programming problem and how you solved it.