Starbucks Interview Question

how to solve problems in workspace