U.S. stocks ended the day higher, rebounding from last week's drop that came amid a hotter-than-expected consumer price inflation report.