Learning goals
- Intervals are the spaces between planting spots; count them before counting trees.
- With both endpoints planted, trees = intervals + 1. With a loop or one endpoint, trees = intervals.
- With no endpoints planted, trees = intervals - 1 because both end spots stay empty.