Which form of problem solving is Carolina exhibiting?

Carolina always buys a pastry before her first class of the day. She purchases whichever pastry is on sale. Which form of problem solving is Carolina exhibiting?