← Back to puzzles

014 Overcooked!

You are a cook trying to make as many burgers as possible.

Making a burger requires these steps:

Each burger requires one patty, one tomato, and one lettuce.

The frying pan runs unattended: while the patty fries, you can prepare other ingredients. Frying time starts when the put step ends and stops when the remove step begins. The patty must fry for at least 20 seconds, but if it fries for 30 seconds or more it burns and cannot be used. You can only fry one patty at a time.

Given the following steps and durations, what is the maximum number of burgers you can fully prepare in 100 seconds?