The Nasdaq Composite and S&P 500 advanced on Tuesday, driven by a sharp rally in Palantir shares, as investors assessed the ...