A late-season snowstorm swept the mid-Atlantic and northeastern United States on Tuesday, grounding thousands of airline flights.