The Brooklyn Nets showcased their resilience, rallying from a 10-point deficit in the fourth quarter to defeat the Mavericks.