NEW YORK — How? How can a team — running largely the same offensive and defensive sets, with the exact same players — swing the pendulum as drastically as the Brooklyn Nets have in the last two weeks. Twelve days ago, Kevin Durant slapped the scorer’s table in frustration to cope with the inevitable: His Nets were headed to 1-5, down 13 to a lottery-bound Indiana Pacers team despite 11-point odds in their favor. Yet by Wednesday night, Durant was slapping hands and swapping smiles with all of his teammates after a thorough unpacking of the New York Knicks. It was the Nets’ fourth win in their …