Amazon Interview Question

How would you approach a given problem