The Coral Reef Problem