NEW YORK — Center Brook Lopez continued his fine play with 23 points and 10 rebounds, and forward Joe Johnson scored 10 of his 17 points in a decisive second quarter, leading the Brooklyn Nets to a 111-101 victory over the Boston Celtics Sunday night at the Barclays Center.

Brooklyn (3-11) avenged a loss sustained at Boston just 48 hours prior.

Just as on Friday night, when the Celtics earned a 120-95 victory, Sunday’s game was decided in the second quarter. The Nets totally reversed their fortune, outscoring the Celtics 35-23. On Friday, the Nets were outscored 43-23 in the second.

The Nets got 22 points from guard Jarrett Jack, including three clutch baskets in the final four minutes, and 12 points from reserve forward Andrea Bargnani, 10 coming in the second period. Forward Thaddeus Young added 11 points and a game-high 12 rebounds for the winners. Jack had 13 of his points in the final period.

The Celtics (7-6) received 27 points each from guards Avery Bradley and Isaiah Thomas. Guard Evan Turner added 13 off the bench for Boston.

Celtics guard Marcus Smart missed the game with a lower left leg injury and will be sidelined for at least two weeks.

After the Nets gained a 24-19 lead to close out the first period, they became unstoppable in the second, posting two 10-0 runs.

The first 10-point surge, capped by a slam dunk by reserve forward Thomas Robinson off an alley-oop pass from guard Shane Larkin, gave Brooklyn a 37-27 lead with 7:23 left in the second period.

The second 10-0 stretch featured two long 3-pointers from Johnson and was capped by an 18-foot jumper from Bargnani, pushing the lead to 51-35 with 2:22 left before halftime.

Brooklyn shot 67 percent (14-of-21) from the floor in the second period. Ten Nets scored at least three points in the first half.

The Nets led 59-42 at halftime, then pushed the lead to 20 in the early stages of the third. It marked the first time this season that Brooklyn led by as many as 20 in any game.

Bradley drained two long threes in the closing minute of the third quarter, as Boston cut the lead to 86-76 with 53 seconds left. Forward Tyler Zeller made a lane jumper to slice the lead to 86-78 entering the fourth quarter.

Bradley made a steal and acrobatic jumper off glass that cut the lead to 88-82 with 10:28 remaining.

The Nets then held off a late run from the Celtics to secure their third win of the season, an important result with tough road games against the Oklahoma City Thunder and the Cleveland Cavaliers up next.

Raptors 91, Clippers 80

LOS ANGELES — Forward DeMarre Carroll and guard DeMar DeRozan scored 21 points apiece, sparking the Toronto Raptors to a 91-80 victory over the Los Angeles Clippers on Sunday at Staples Center.

Forward Luis Scola added 20 points and eight rebounds and point guard Kyle Lowry contributed 13 points, 11 assists and three steals, helping the Raptors (9-6) avoid blowing a 29-point first-half lead late in the contest. Toronto beat the Clippers for the third straight time, all of them by double-digit margins.

Guard J.J. Redick scored 17 points and point guard Chris Paul had 13 points and 11 assists as the Clippers (6-7) lost their third in a row. Center DeAndre Jordan finished with 13 points, 15 rebounds and five blocks.

Los Angeles made a run in the final quarter, pulling within 73-67 after a 3-point jumper by forward Josh Smith with 7:30 remaining. However, DeRozan ended a Toronto drought of more than nine minutes without a field goal, scoring on a layup to halt the Clippers’ surge.

Two foul shots by guard Cory Joseph and a jumper by Scola pushed the lead back to 12 points. Los Angeles never got any closer than eight the rest of the way.

The Raptors led 33-23 after one quarter and dominated the second quarter, outscoring the Clippers 30-11 for a 63-34 advantage at the break. The Raptors limited the Clippers to 23.5 percent shooting in the second quarter, while converting 47.1 percent of their shots. For the half, the Clippers canned all five of their free throws, but Toronto owned a considerable edge there, too, making 17 of 19.

Forward Blake Griffin, one of three Clippers starters who failed to score in the first quarter, had a forgettable half, missing both of his field-goal attempts and coming up empty in more than nine minutes. Griffin sat out the final 8:29 of the half after picking up his third foul. Griffin finally scored 30 seconds into the second half and finished with nine points on 4-of-10 shooting in almost 29 minutes. He also had six rebounds.