Homesweet Learning helps students learn!
Tree Planting Problem
Along a yard, T trees are planted at equal distances and the yard is divided into S segments:
 
If a tree is planted at each end of the yard, then T = S + 1
If a tree is planted at only 1 end of the yard, then T = S
If no tree is planted at the end of the yard, then T = S -1