Amazon Interview Question

How do you approach a problem which has straight forward solution which is rather inefficient?