The surprising Warriors have won five of their last six, the two most recent victories having come at the start of a seven-game road trip that will last through Dec. 15. Brooklyn has dropped three straight.
The Nets had an 89-86 lead with 9:35 to go in the contest, but Stephen Curry tied it with a 3-pointer and Lee then produced six consecutive points to give Golden State a 95-89 advantage.
Lee scored 30 points, 13 of them coming in the final period, and grabbed 15 rebounds while Curry had 28 points. Golden State made 51 percent of its shots from the field and hit 9-of-19 from 3-point range.