Question 5
A robot plants a row of flowers according to the signs, starting at X.

Repeat steps 1–5 until no signs remain:
1. If the current cell has a sign, plant the flower shown there.
2. Remember the flower just planted.
3. Remove the current sign.
4. Move right until reaching an empty cell with neither a flower nor a sign; plant the remembered flower there.
5. Move left until reaching a cell with a sign or leaving the bed.
What will the final flowerbed look like?

Repeat steps 1–5 until no signs remain:
1. If the current cell has a sign, plant the flower shown there.
2. Remember the flower just planted.
3. Remove the current sign.
4. Move right until reaching an empty cell with neither a flower nor a sign; plant the remembered flower there.
5. Move left until reaching a cell with a sign or leaving the bed.
What will the final flowerbed look like?



