Algorithmic Decisions for the Modern Cook

When in doubt, follow the algorithm.

Step 1: Gather Ingredients

Use a binary search to find the freshest produce in the fridge.

Proceed to Step 2: Chop and Dice

Step 2: Chop and Dice

Use a recursive function to chop vegetables into perfect cubes.

Proceed to Step 3: Saute and Stir

Step 3: Saute and Stir

Use a loop to stir the pot until the desired consistency is reached.

Proceed to Step 4: Plate and Serve