Starbucks interview question

situation solving