The storm flooded parts of coastal North Carolina, driving some people from their homes, and snarled train, air and car traffic in the Northeast.