What is the optimal strategy for solving LeetCode problem 808, Soup Servings?