New York is often seen as a proving ground for traits like perseverance and determination — “If I can make it there, I’ll make it anywhere,” as the song goes. It turns out the same thing is true for the city’s trees.