U.S. markets rebounded from losses last week as the Dow Jones Industrial Average gained 116 points and tech stocks helped the Nasdaq rise.