The Dallas Mavericks snapped a five-game losing streak with a 118-97 victory over the Los Angeles Lakers on Tuesday night.