Down 101-96 in the final minute, the second-seeded Knicks scored the game's final eight points to grab a 2-0 lead in the best-of-seven series, which shifts to Philadelphia for Thursday's Game 3.
DiVincenzo finished with 19 points and Jalen Brunson had 24 along with eight rebounds and six assists for New York, which also got a big effort from center Isaiah Hartenstein to overcome a 10-point deficit late in the first half.
Hartenstein scored all 14 of his points in the second half on 7-of-7 shooting while helping the Knicks contain 76ers' star Joel Embiid. The reigning NBA MVP managed 34 points and 10 rebounds, but made good on just 12 of 29 field goal attempts and missed a potential tying 3-point try at the buzzer.
Tyrese Maxey ended just shy of a triple-double for seventh-seeded Philadelphia, as he compiled 35 points, 10 assists and nine rebounds.
The Sixers trailed 90-82 early in the fourth quarter before outscoring New York 19-6 over a seven-minute stretch to pull ahead late. Maxey's jumper with 2:22 to go gave Philadelphia a 97-96 edge, and the All-Star buried a 3-pointer shortly afterward to extend the lead to four entering the final minute.
Brunson gave New York some life with a 3-pointer with 27.4 seconds remaining to cut the lead to 101-99, and after Maxey turned it over on the ensuing possession, DiVincenzo knocked down a 26-footer on a second-chance attempt to send the Knicks in front.
Maxey then couldn't get a contested layup to fall with 6.6 seconds left, and New York's OG Anunoby was fouled after grabbing the rebound before making both free throws ahead of Embiid's game-ending miss.
Nuggets rally from 20 points down to stun Lakers in Game 2
The Denver Nuggets also took a 2-0 lead in their Western Conference series with the Los Angeles Lakers after overcoming a 20-point second-half deficit to rally for a stunning 101-99 win.
Jamal Murray capped Denver's improbable comeback by hitting a game-winning 15-foot jumper with 0.4 seconds left on the clock.
Murray scored 16 of his 20 points in the second half and Nikola Jokić had 15 points after half-time to also spark the defending NBA champions. Jokic ended the night with a 27-point, 20-rebound, 10-assist triple-double.
Anthony Davis finished with 32 points and 11 rebounds for the seventh-seeded Lakers, who appeared on the verge of sending the series back to Los Angeles all tied up after opening up a 68–48 lead two minutes into the third quarter.
Second-seeded Denver trailed 74-55 near the midway point of the third before getting back in it with a 10-0 run. The Nuggets later went on a 10-1 spurt to pull within 83-81 on Murray's layup with 6:45 remaining.
Murray was later fouled with 57.6 seconds left and made both free throws to forge a 97-97 tie. LeBron James answered with a layup on the ensuing possession to put Los Angeles back ahead, but Murray sunk a step-back jumper with 30 seconds remaining to even the score once again.
James then misfired on a 3-point try and the Nuggets secured the rebound before getting the ball to Murray, who knocked down the game-winner right before the buzzer sounded with Davis contesting the shot.
James had 26 points and 12 rebounds, while D'Angelo Russell netted 23 points for the Lakers while going 7 of 11 from 3-point range.
Game 3 will take place Thursday night.
Cavaliers shut down Magic again to take 2-0 series lead
Donovan Mitchell scored 23 points and Jarrett Allen led another strong defensive effort for the Cleveland Cavaliers, who took a 2-0 lead in their first-round series against the Orlando Magic by recording a 96-86 win.
After holding the Magic under 33 per cent shooting in Saturday's series opener, fourth-seeded Cleveland forced 17 turnovers and limited No. 5 seed Orlando to a 36.2 per cent rate from the field to move within two wins of advancing.
Allen particularly made his presence felt by corralling 20 rebounds along with three blocks and two steals. The standout center also contributed 16 points on 6-of-10 shooting.
Evan Mobley added 17 points and Darius Garland had 15 in a game the Cavaliers never trailed while taking control early by building a 30-18 lead after one quarter.
Cleveland's margin grew as high as 17 points in the second quarter as the Magic continued to struggle to score, and Mitchell registered 19 of his points in the first half to help send the Cavs into the break owning a 58-44 advantage.
Orlando never seriously threatened in the second half and will now attempt to reverse momentum when it returns home to host Game 3 on Thursday.
Paolo Banchero led the Magic with 21 points and Franz Wagner had 18 for Orlando, though all but one of those points came during the first half.