Share Facebook Twitter LinkedIn Pinterest Email U.S. stocks ended higher Tuesday, with Nvidia and other artificial intelligence-linked technology shares recovering from sharp losses the previous day as investors snapped up bargains.