Rotting Fruit

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

A grid holds empty cells, fresh fruit and rotten fruit. Each minute, every fresh fruit directly above, below, left or right of a rotten one becomes rotten. Find how many minutes pass until no fresh fruit remains, or report that it never happens.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →