US stocks had a strong day on Monday, the first trading day in December, with the Nasdaq and S&P 500 closing at fresh record highs, and the Dow dipping slightly.